Skip to main content
POST
Create on-demand conversion

Authorizations

API-Key
string
header
required

Your public API key. Identifies the partner making the request.

API-Sign
string
header
required

HMAC signature over the request, computed with your private key.

API-Nonce
string
header
required

Monotonically increasing nonce included in the request signature.

Headers

Idempotency-Key
string<uuid>
required

UUID that identifies this create request. It must be unique. Reusing it returns a conflict error and does not create a new conversion.

Path Parameters

account_id
string
required

Identifier of the selected account that owns the conversion.

Required string length: 14 - 42
Example:

"WVSD33HRMGSZUBM7"

Body

application/json

Provide from.amount to specify how much to debit. Omit to.amount; the service calculates the amount delivered to the destination.

from
OnDemandConversionBalanceSource · object
required

Source side of an on-demand conversion.

to
OnDemandConversionWalletDestination · object
required

Destination side of an on-demand conversion.

Response

On-demand conversion created.

data
object
required

Details of an on-demand conversion. It includes the amount debited from the source, the amount delivered to the destination, the exchange rate, destination details, and fees. Transaction references are included when available. A linked bank source remains pending during its multi-day funding window. A wallet destination may include a saved memo or tag; when present, those fields are returned in every response.