Create Buy Transaction (v1)
Create Buy Transaction
Field notes (recovered from legacy docs)
Create External Buy
Price lock (quote_id)
Pass quote_id to create this transaction against a price-locked quote previously issued by the External Buy Quote endpoint (POST /api/v2/wallet/w/quote). When quote_id is supplied, the locked currency pair, payment method, amounts, network, and fees are resolved from the stored quote; the matching request fields become optional and any values sent for them are ignored. crypto_wallet_address is always required. When quote_id is absent the endpoint behaves as before and the original fields remain required.
{
"quote_id": "421b9fb7-6800-4d9d-ba17-083ad662733b",
"crypto_wallet_address": "0xf82010290b2c3169ffaB5354d7Bbd09Eb2822724",
"source_id": "94b00193-301d-4750-b310-207393d987c9",
"bank_transaction_id": "501610337776"
}
Response field values
| Field | Possible Values |
|---|---|
status | Typically PROCESSING immediately after creation |
failure_code, failure_desc | Empty string until the transaction fails |
If crypto_wallet_address is POOL_TRANSFER, the handler may also surface broker or deposit-address service errors directly with their underlying code and message.
Headers
Your API key (configured in credentials)
HMAC-SHA256 signature (auto-generated) To test manually: HMAC-SHA256 of apiKey + timestamp (or apiKey + timestamp + userId when X-User-Id is required), keyed with your API secret. The HMAC Generator flow computes this for you.
Unix timestamp in seconds (auto-generated) Unix seconds, e.g. Math.floor(Date.now() / 1000). Must match the timestamp used in the X-Signature computation.
Unique request identifier (auto-generated) Any unique string per request, e.g. a UUID.
User UUID (set above)
Body
The from_currency field
The to_currency field
The from_amount field
The payment_method field
The crypto_wallet_address field
The network field
The source_id field
The bank_transaction_id field
Related topics
Create Pool Buy Transaction (v1)Get Buy Transaction Details (v1)Create Sell Transaction (v1)Create Pool Sell Transaction (v1)Create Crypto Withdraw Transaction (v1)