Skip to main content
POST
Send the request before the quote expires (ts_release), with the quote’s currencies, the same amount field and amount, and its price exactly as returned. Each quote can be used for one request only. For every error this endpoint returns and what it means, see API errors: Exchange at a fixed rate.

Authorizations

X-Processing-Key
string
header
required

Your API key.

Headers

X-Processing-Signature
string
required

Hex-encoded HMAC-SHA512 signature of the request body, generated using your secret key.

Body

application/json
sender_currency
string
required

Currency to exchange from. For a list of all available currencies, see API currency codes.

receiver_currency
string
required

Currency to exchange to. For a list of all available currencies, see API currency codes.

foreign_id
string
required

Unique ID of this exchange in your system, up to 255 characters. It must be unique among your withdrawals and exchanges, and it's case-insensitive.

Maximum string length: 255
price
required

The quote's price from /v2/exchange/calculate (units of receiver_currency for 1 unit of sender_currency), exactly as returned: a rounded value or one with extra trailing zeros doesn't match the quote.

Example:

"0.99978134"

sender_amount

The amount you want to exchange, in sender_currency, as a decimal string (for example, "100") or a number. Include either this parameter or receiver_amount, not both. It must be the amount field and amount of the quote from /v2/exchange/calculate.

Up to 8 decimal places.

receiver_amount

The amount you want to receive, in receiver_currency, before the exchange fee, as a decimal string (for example, "100") or a number. Include either this parameter or sender_amount, not both. It must be the amount field and amount of the quote from /v2/exchange/calculate.

Up to 8 decimal places.

Response

Created

data
object
Last modified on October 29, 2026