code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.Payout.cancel(
    "po_1LSdsc2eZvKYlo2Cxk99gPFS",
  )
  '''Response {
    "id": "po_1LSdsc2eZvKYlo2Cxk99gPFS",
    "object": "payout",
    "amount": 1100,
    "arrival_date": 1659484800,
    "automatic": false,
    "balance_transaction": "txn_1032HU2eZvKYlo2CEPtcnUvl",
    "created": 1659518922,
    "currency": "usd",
    "description": "STRIPE PAYOUT",
    "destination": "ba_1LSdsc2eZvKYlo2CddH6YN3m",
    "failure_balance_transaction": null,
    "failure_code": null,
    "failure_message": null,
    "livemode": false,
    "metadata": {},
    "method": "standard",
    "original_payout": null,
    "reversed_by": null,
    "source_type": "card",
    "statement_descriptor": null,
    "status": "canceled",
    "type": "bank_account"
  }'''
nl: Cancel a payoutA previously created payout can be canceled if it has not yet been paid out. Funds will be refunded to your available balance. You may not cancel automatic Stripe payouts.ParametersNo parameters.ReturnsReturns the payout object if the cancellation succeeded. Returns an error if the payout has already been canceled or cannot be canceled