cURL
curl --request POST \ --url https://api.balansas.com/functions/v1/customer-api/otc-exchanges/{id}/cancel \ --header 'x-api-key: <api-key>'
{ "data": { "orderId": "770e8400-e29b-41d4-a716-446655440002", "status": "debit_pending" } }
Customer API key. Send as x-api-key: sk_... or Authorization: Bearer sk_.... Write operations also require an X-CSRF-Token header (64-char hex).
x-api-key: sk_...
Authorization: Bearer sk_...
X-CSRF-Token
Success
Show child attributes