code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.treasury.OutboundPayment.cancel(
    "obp_1LSdi72eZvKYlo2C9qeS9ZNt",
  )
  '''Response {
    "id": "obp_1LSdi72eZvKYlo2C9qeS9ZNt",
    "object": "treasury.outbound_payment",
    "amount": 10000,
    "cancelable": false,
    "created": 1659518271,
    "currency": "usd",
    "customer": null,
    "description": "OutboundPayment to a 3rd party",
    "destination_payment_method": null,
    "destination_payment_method_details": {
      "billing_details": {
        "address": {
          "city": "San Francisco",
          "country": "US",
          "line1": "1234 Fake Street",
          "line2": null,
          "postal_code": "94102",
          "state": "CA"
        },
        "email": null,
        "name": "Jane Austen"
      },
      "type": "us_bank_account",
      "us_bank_account": {
        "account_holder_type": "individual",
        "account_type": "checking",
        "bank_name": "STRIPE TEST BANK",
        "fingerprint": "1JWtPxqbdX5Gamtz",
        "last4": "6789",
        "network": "ach",
        "routing_number": "110000000"
      }
    },
    "end_user_details": {
      "ip_address": null,
      "present": false
    },
    "expected_arrival_date": 1659657600,
    "financial_account": "fa_1LSdi72eZvKYlo2CAwKTB33F",
    "hosted_regulatory_receipt_url": "https://payments.stripe.com/regulatory-receipt/CBQaFwoVYWNjdF8xMDMyRDgyZVp2S1lsbzJDKL_6qJcGMgYIfE7sQl46NpMxcTQbWWqOs69ZGHCUCY6vernHtBxDzhTaa6ALrs8bZ0gHZlwaHa4PRo0ix3lglY4se2fPEQ",
    "livemode": false,
    "metadata": {},
    "returned_details": null,
    "statement_descriptor": "payment",
    "status": "canceled",
    "status_transitions": {
      "posted_at": null,
      "failed_at": null,
      "canceled_at": 1659518271,
      "returned_at": null
    },
    "transaction": "trxn_1LSdi72eZvKYlo2CQiyepd8w"
  }'''
nl: Cancel an OutboundPaymentCancel an OutboundPayment.ParametersNo parameters.ReturnsReturns the OutboundPayment object if the cancellation succeeded. Returns an error if the OutboundPayment has already been canceled or cannot be canceled