cURL
curl --request GET \ --url https://api.balansas.com/functions/v1/customer-api/otc-exchanges \ --header 'x-api-key: <api-key>'
{ "data": [ { "id": "770e8400-e29b-41d4-a716-446655440002", "status": "pending_approval", "sourceCurrency": "EUR", "sourceAmount": "100.00", "destinationCurrency": "USDC", "destinationAmount": "105.00", "rate": "1.05", "createdAt": "2026-05-28T11:02:09.456Z" } ], "meta": { "pagination": { "page": 1, "limit": 25, "total": 100 } } }
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