Partner API
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
Request
- Base URLhttps://sandbox.onlink.africa
- AuthAPI key in header X-OnLink-Key
Request body
Example request
{
"kesAmount": "10000.00",
"usdtAmount": "100.000000"
}Response
Quote locked
Example response
{
"quoteId": "f1c0a5d2-3b4e-4a71-9c8d-0e1f2a3b4c5d",
"side": "buy",
"kesAmount": "1281000.00",
"usdtAmount": "10000.000000",
"rate": "128.10",
"kesTotalAmount": "1293820.00",
"fee": {
"kesAmount": "12820.00",
"currency": "KES",
"percentBps": 100,
"flatKesAmount": "10.00"
},
"expiresAt": "2026-08-31T09:31:30.000Z",
"settlementEstimateSeconds": 21600
}Changes
No recorded changes to this operation across all 1 revision of this API.