code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.treasury.OutboundTransfer.TestHelpers.fail(
    "obt_1LSe792eZvKYlo2CdMy15utm",
  )
  '''Response {
    "id": "obt_1LSe792eZvKYlo2CdMy15utm",
    "object": "treasury.outbound_transfer",
    "amount": 10000,
    "cancelable": false,
    "created": 1659519823,
    "currency": "usd",
    "description": "OutboundTransfer to my external bank account",
    "destination_payment_method": "pm_1LSe792eZvKYlo2CYRFX7vAt",
    "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": "company",
        "account_type": "checking",
        "bank_name": "STRIPE TEST BANK",
        "fingerprint": "1JWtPxqbdX5Gamtc",
        "last4": "6789",
        "network": "ach",
        "routing_number": "110000000"
      }
    },
    "expected_arrival_date": 1659657600,
    "financial_account": "fa_1LSe792eZvKYlo2C9eJvA4u8",
    "hosted_regulatory_receipt_url": "https://payments.stripe.com/regulatory-receipt/CBQaFwoVYWNjdF8xMDMyRDgyZVp2S1lsbzJDKM-GqZcGMgacppvJxXs6NpMfXNDMpZXG_jXiATgBLFGs0BdvKk8aMzoZSlLUgNUa53XhGCFXPHKLb1p2owqSLBHgeIheXQ",
    "livemode": false,
    "metadata": {},
    "returned_details": null,
    "statement_descriptor": "transfer",
    "status": "failed",
    "status_transitions": {
      "failed_at": 1659519823,
      "canceled_at": null,
      "posted_at": null,
      "returned_at": null
    },
    "transaction": "trxn_1LSe792eZvKYlo2CQfSsp6IB"
  }'''
nl: Test mode: Fail an OutboundTransferTransitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.ParametersNo parameters.ReturnsReturns the OutboundTransfer object in the failed state. Returns an error if the OutboundTransfer has already been failed or cannot be failed