Skip to main content
POST
Simulate a fiat deposit to a sandbox virtual account

Authorizations

x-api-key
string
header
required

Path Parameters

customerId
string
required
Example:

"cus_1A2b3C4d5E6f7G8h9I0jKl"

virtualAccountId
string
required
Example:

"vac_1A2b3C4d5E6f7G8h9I0jKl"

Body

application/json
assetAmount
object
required
outcome
enum<string>
Available options:
completed,
frozen,
returned
externalReference
string
Required string length: 1 - 255
detectedAt
string<date-time>
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
rail
enum<string>
Available options:
ach,
fedwire,
rtp,
fednow,
swift,
sepa,
faster_payments,
chaps,
spei
omitWireReferences
boolean
senderInfo
object
remittance
object

The text the simulated sender writes on the payment. It reads as remittance.reference on the deposit transaction and its webhooks.

Response

Deposit accepted for ingestion; carries the reference to poll on

externalReference
string
required

Payment reference the deposit is detected under — an opaque sandbox_… reference derived from your organization and the reference supplied on the request, or from the deposit details when it was omitted. Poll GET /v2/transactions?externalReference=… to observe the deposit.