Skip to main content
POST
Create Buy Transaction (v1)

Headers

X-Api-Key
string
required

Your API key (configured in credentials)

X-Signature
string
required

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.

X-Timestamp
string
required

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.

X-Request-Id
string
required

Unique request identifier (auto-generated) Any unique string per request, e.g. a UUID.

X-User-Id
string
required

User UUID (set above)

Body

application/json
from_currency
string
required

The from_currency field

to_currency
string
required

The to_currency field

from_amount
number
required

The from_amount field

payment_method
string
required

The payment_method field

crypto_wallet_address
string
required

The crypto_wallet_address field

network
string
required

The network field

source_id
string
required

The source_id field

bank_transaction_id
string
required

The bank_transaction_id field

Response

200 - application/json

Successful response

success
boolean
data
object