Skip to main content
POST
/
exchange
/
fixed
curl --request POST \
  --url https://app.cryptoprocessing.com/api/v2/exchange/fixed \
  --header 'Content-Type: application/json' \
  --header 'X-Processing-Key: <api-key>' \
  --header 'X-Processing-Signature: <x-processing-signature>' \
  --data '
{
  "sender_currency": "BTC",
  "receiver_currency": "EUR",
  "sender_amount": 0.003,
  "foreign_id": "test_foreign_id_0250",
  "price": "77314.26444333"
}
'
{
  "data": {
    "sender_currency": "BTC",
    "sender_amount": "0.00300000",
    "receiver_currency": "EUR",
    "receiver_amount": "231.94279333",
    "fee_currency": "BTC",
    "fee_amount": "0.00015000",
    "price": "77314.26444333",
    "id": 134704049,
    "foreign_id": "test_foreign_id_0250",
    "type": "exchange",
    "status": "processing"
  }
}
Execute a fixed exchange using a valid quote from /exchange/calculate. The exchange request must be sent before the quote expires and must use the same amount and price as in the quote.

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 the exchange transaction.

price
number
required

The quoted exchange rate from /exchange/calculate, expressed as units of receiver_currency for 1 unit of sender_currency. This value must match the quote.

sender_amount
number

Amount to send. You must include either this parameter or receiver_amount. This value must match the quote returned by /exchange/calculate.

receiver_amount
number

Amount to receive. You must include either this parameter or sender_amount. This value must match the quote returned by /exchange/calculate.

Response

Created

data
object
Last modified on April 28, 2026