Test mode: Create a ReceivedCredit Test helper
POST / v1 / test_helpers / treasury / received_credits
Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can’t directly create ReceivedCredits initiated by third parties.
Parameters
- amount integer Required Amount (in cents) to be transferred.
- currency enum Required Three-letter ISO currency code, in lowercase. Must be a supported currency.
- financial _ account string Required The FinancialAccount to send funds to.
- network enum Required Specifies the network rails to be used. If not set, will default to the PaymentMethod’s preferred network. See the docs to learn more about money movement timelines for each network type.
- description string An arbitrary string attached to the object. Often useful for displaying to users.
- initiating _ payment _ method _ details object Initiating payment method details for the object.
Returns
A test mode ReceivedCredit object.
Response
