OnLink
API reference

Lock a USDT/KES rate

Returns a single-use, time-limited quote. Quotes are only issued off a live rate — a degraded rate source returns 503 rather than a locked rate we could not honour.

POST
/v1/quotes

Authorization

partner-key
X-OnLink-Key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/quotes" \  -H "Content-Type: application/json" \  -d '{    "side": "buy"  }'
{  "quoteId": "f1c0a5d2-3b4e-4a71-9c8d-0e1f2a3b4c5d",  "side": "sell",  "kesAmount": "1281000.00",  "usdtAmount": "10000.000000",  "rate": "128.10",  "expiresAt": "2026-08-31T09:31:30.000Z",  "settlementEstimateSeconds": 21600}