Skip to content

Get OTC Order Status

GET
/api/v4/otc/order/status/{orderId}

Retrieve current status and details for an OTC order.

Authorizations

ApiKeyAuth
Type
API Key (header: X-Api-Key)

Parameters

Path Parameters

orderId*
Type
string
Required

Responses

OK

application/json
JSON
{
"status": "ok",
"payload": {
"orderId": "f0e2d8b3-1a4c-4f6e-9d5b-8c7f3e2a1b0d",
"orderType": "SELL_CRYPTO",
"status": "PROCESSING",
"network": "ethereum",
"token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"tokenAmount": "10245.182341",
"fiatAmount": "9500.00",
"ibanId": "iban_01HXYZ123456",
"chainTxHash": "0xabcd..."
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Code examples

bash
curl -X GET https://api.brrr.network/api/v4/otc/order/status/f0e2d8b3-1a4c-4f6e-9d5b-8c7f3e2a1b0d \
  -H "X-Api-Key: YOUR_API_KEY"
javascript
const orderId = 'f0e2d8b3-1a4c-4f6e-9d5b-8c7f3e2a1b0d';
const response = await fetch(`https://api.brrr.network/api/v4/otc/order/status/${orderId}`, {
  headers: {
    'X-Api-Key': process.env.BRRR_API_KEY,
  },
});

const status = await response.json();
console.log('Order status:', status);
python
import os
import httpx

order_id = 'f0e2d8b3-1a4c-4f6e-9d5b-8c7f3e2a1b0d'
response = httpx.get(
    f'https://api.brrr.network/api/v4/otc/order/status/{order_id}',
    headers={
        'X-Api-Key': os.environ['BRRR_API_KEY'],
    },
)
response.raise_for_status()
print('Order status:', response.json())