Skip to main content
POST
Simulate a deposit into an auto-ramp account (sandbox only)

Authorizations

Authorization
string
header
required

Cognito JWT token for regular user authentication

Path Parameters

id
string
required

The auto-ramp account ID to deposit into

Minimum string length: 1

Body

amount
string
required

Fiat amount to deposit, in the account's currency. Decimal string, same format as the estimate endpoint's amount. Up to 12 digits before the decimal point.

Pattern: ^\d{1,12}(\.\d{1,2})?$
Example:

"2525.00"

gasFee
string

On-chain settlement cost the provider should report. Defaults to 0.00, which is what a Solana deposit really costs. Set it to give an Ethereum deposit a realistic network fee — this is also the only way to give the estimate endpoint's network figure a settled sample to read.

Pattern: ^\d{1,12}(\.\d{1,2})?$
Example:

"4.20"

exchangeFee
string

Conversion cost the provider should itemise. Derived from the provider's live bid/ask spread when omitted.

Pattern: ^\d{1,12}(\.\d{1,2})?$
Example:

"2.53"

settle
boolean

Set false to leave the deposit at processing instead of delivering the crypto, for testing an on-ramp that has not settled yet. Defaults to true.

Example:

true

depositId
string

Reuse the depositId of an earlier simulated deposit to advance that on-ramp instead of creating a new one. Fresh and unique when omitted.

Required string length: 1 - 128

Response

The result of a simulated deposit. Everything here also reaches the ordinary on-ramp endpoints.

The result of a simulated deposit. Everything here also reaches the ordinary on-ramp endpoints.

onRampId
string
required

The on-ramp the deposit produced. Poll it at GET /v1/on-ramps/{id} — it is an ordinary on-ramp in every respect.

Example:

"507f1f77bcf86cd799439011"

depositId
string
required

The provider-side deposit identifier. Pass it back to advance this same on-ramp.

Example:

"3f1a9c02-6c1c-4f0e-9a6a-2f9c8f6f4b21"

status
enum<string>
required
Available options:
awaiting_payment,
processing,
partially_delivered,
completed,
cancelled,
failed,
reversed,
refunded,
in_review
input
object
required
fees
object
required
output
object
required