White Label API v1 Documentation

Base URL: https://api.endpoint.com/api/wl/v1

Authentication

The API uses two authentication methods depending on the endpoint sensitivity.

Standard Authentication (X-API-Key)

Used for: pairs, estimate, exchange operations.

Header Description
X-API-Key Your secret API key (min 32 characters)

HMAC Authentication (X-API-Key + Signature)

Used for: balances, payouts, statistics.

Header Description
X-API-Key Your secret API key
X-API-Signature HMAC-SHA256 signature
X-API-Timestamp Unix timestamp (valid within 300 seconds)

Signature generation:

payload = TIMESTAMP + "\\n" + METHOD + "\\n" + PATH + "\\n" + SORTED_QUERY_STRING
signature = HMAC-SHA256(payload, management_key)

Response Format

All endpoints return JSON:

{
  "success": true,
  "title": "ok",
  "data": { ... }
}

On error: