Skip to navigation

Simulate deposit (sandbox only)

Creates a simulated deposit for a sandbox client. The deposit is credited immediately and appears on balances, the deposit list and the statement like a real one.

Idempotency: Idempotency-Key header required (non-zero UUID). Reuse the key and an identical body on retries, including after a timeout or 5xx: the original deposit is returned without a second credit. A different body under an existing key returns 409. The same reference may be reused across deposits and currencies.

Maximum amount per deposit: 1,000,000 units of any supported currency, at the currency’s minor-unit precision. Calls from a non-sandbox client are rejected with 403.

Authentication

AuthorizationBearer
Token obtained via the login flow.

Headers

Idempotency-KeystringRequiredformat: "uuid"

Client-generated UUID. Persist before issuing the request and reuse on retries.

Request

This endpoint expects an object.
currencystringRequired
amountstringRequired
Positive decimal string within the documented amount and precision limits.
referencestringRequired<=255 characters
Deposit reference, as it would appear on an incoming wire. Leading and trailing whitespace is trimmed before storage and idempotency comparison.

Response

Deposit created with status: credited.

depositIdstring
currencystring
amountstring

Always positive (actual amount received).

referencestring
Reference that attributed this wire.
statusenum
Allowed values:
receivedAtdatetime
When the incoming wire was detected.
depositAccountIdstringOptional

The deposit account (as returned by GET /deposits/account-details) the funds arrived on. Currently populated for crypto deposits only.

statusReasonenum or nullOptional

Machine-readable context for the current status. Present when additional detail is available.

Allowed values:
creditedAtdatetime or nullOptional
sourceobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error