Partner API
Create a sell order (USDT in, KES out)
Consumes a sell quote and takes your USDT at create — from your USDT balance, or from your own wallet, depending on your account. Payout is asynchronous: nothing is paid out until the order’s USDT is confirmed. A signed webhook tells you when it settles; polling is the fallback. Retry-safe: creating twice with the same partnerReference returns the original order rather than a second one. The response carries your deposit address, which is the same for every order: it tops up your USDT balance and is not tied to any one order.
post/v1/orders/sell
Request
- Base URLhttps://sandbox.onlink.africa
- AuthAPI key in header X-OnLink-Key
Request body
Response
Order created, awaiting your USDT
Example response
{
"orderId": "3a7c1f90-8b2d-4e56-9a01-cd23ef456789",
"status": "awaiting_usdt",
"kesAmount": "1281000.00",
"usdtAmount": "10000.000000",
"rate": "128.1000",
"kesTotalAmount": "1268180.00",
"fee": {
"kesAmount": "12820.00",
"currency": "KES",
"percentBps": 100,
"flatKesAmount": "10.00"
},
"expiresAt": "2026-09-01T09:30:00.000Z",
"depositAddress": "T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb",
"chain": "tron",
"sendBefore": "2026-09-01T09:30:00.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.