External buy success v1
This callback will be triggered for external buy transactions where the user purchases crypto via an external (off-platform) payment flow. The event field carries the literal string CRYPTO_BUY.
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.
Body
The id field
The uuid field
Event name. Value is CRYPTO_BUY.
The user_id field
The status field
The fiat_symbol field
The crypto_symbol field
The fiat_amount field
The crypto_amount field
The payment_method field
The exchange_rate field
The crypto_wallet_address field
The network field
The source_id field
The bank_transaction_id field
The tag field
The txn_hash field
The created_at field
Response
Successful response
Related topics
Pool buy success v1External sell success v1Crypto buy success v1Get Buy Quote (v1)Create Buy Transaction (v1)