code: import stripe
  stripe.api_key = "sk_test_4eC39HqLyjWDarjtT1zdp7dc"
  
  stripe.treasury.InboundTransfer.TestHelpers.return(
    "ibt_1LSe2F2eZvKYlo2CipojuKFw",
  )
  '''Response {
    "id": "ibt_1LSe2F2eZvKYlo2CipojuKFw",
    "object": "treasury.inbound_transfer",
    "amount": 10000,
    "cancelable": true,
    "created": 1659519519,
    "currency": "usd",
    "description": "InboundTransfer from my external bank account",
    "failure_details": null,
    "financial_account": "fa_1LSe2F2eZvKYlo2C7GbabeHc",
    "hosted_regulatory_receipt_url": "https://payments.stripe.com/regulatory-receipt/CBQaFwoVYWNjdF8xMDMyRDgyZVp2S1lsbzJDKJ-EqZcGMgbjs2dANsU6NpM-Z_Wbb535boyhCYzG4DhrinMWpdiubSmtMlSJzonQDPqAlVKgTwpcZ5o7sqEqJxr8AeQ25g",
    "linked_flows": {
      "received_debit": "rd_1LSe2F2eZvKYlo2Co2KflmTB"
    },
    "livemode": false,
    "metadata": {},
    "origin_payment_method": "pm_1LSe2F2eZvKYlo2CEsB36N9Z",
    "origin_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"
      }
    },
    "returned": true,
    "statement_descriptor": "transfer",
    "status": "succeeded",
    "status_transitions": {
      "failed_at": null,
      "succeeded_at": 1659519519
    },
    "transaction": "trxn_1LSe2F2eZvKYlo2CJLeUtWAK"
  }'''
nl: Test mode: Return an InboundTransferMarks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.ParametersNo parameters.ReturnsReturns the InboundTransfer object with returned set to true. Returns an error if the InboundTransfer has already been returned or cannot be returned