code: import stripe
  stripe.api_key = "sk_test_your_key"
  
  stripe.treasury.ReceivedDebit.TestHelpers.create(
    amount=1000,
    currency="usd",
    financial_account="fa_1LSdro2eZvKYlo2CWVkCW1Pl",
    network="ach",
  )
  '''Response {
    "id": "rd_1LSdrp2eZvKYlo2CAfX8P6F5",
    "object": "treasury.received_debit",
    "amount": 1000,
    "created": 1659518873,
    "currency": "usd",
    "description": "Stripe Test",
    "failure_code": null,
    "financial_account": "fa_1LSdro2eZvKYlo2CWVkCW1Pl",
    "hosted_regulatory_receipt_url": "https://payments.stripe.com/regulatory-receipt/CBQaFwoVYWNjdF8xMDMyRDgyZVp2S1lsbzJDKJn_qJcGMgZe7u3Vdm86NpNdI31c4uzzYctFwmmhFEp2rNxE0bGKLi1E94PI7N1ZcRqXe_E8lSVa_eemN2Zv_GwsPhK1eg",
    "initiating_payment_method_details": {
      "billing_details": {
        "address": {
          "city": null,
          "country": null,
          "line1": null,
          "line2": null,
          "postal_code": null,
          "state": null
        },
        "email": null,
        "name": "Jane Austen"
      },
      "type": "us_bank_account",
      "us_bank_account": {
        "bank_name": "STRIPE TEST BANK",
        "last4": "6789",
        "routing_number": "110000000"
      }
    },
    "linked_flows": {
      "debit_reversal": null,
      "inbound_transfer": null,
      "issuing_authorization": null,
      "issuing_transaction": null
    },
    "livemode": false,
    "network": "ach",
    "reversal_details": {
      "deadline": 1659657600,
      "restricted_reason": null
    },
    "status": "succeeded",
    "transaction": "trxn_1LSdro2eZvKYlo2Cdo11cZOl"
  }'''
nl: Test mode: Create a ReceivedDebitUse this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can’t directly create ReceivedDebits initiated by third parties.Parameters amount required Amount (in cents) to be transferred. currency required Three-letter ISO currency code, in lowercase. Must be a supported currency. financial_account required The FinancialAccount to pull funds from. network required The rails used for the object.Possible enum valuesach  description optional An arbitrary string attached to the object. Often useful for displaying to users. initiating_payment_method_details optional dictionary Initiating payment method details for the object.Show child parametersReturnsA test mode ReceivedDebit object