Create a buy order (KES in, USDT out)
Consumes a buy quote and debits the KES directly from your own VA balance — there is nothing to send and no payment instructions to read. Delivery is asynchronous: nothing is sent until the debit is confirmed and the order reaches a terminal state. Register a webhook endpoint rather than assuming a create means the trade is done. Retry-safe: creating twice with the same partnerReference returns the original order rather than a second one.
Authorization
partner-key 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
application/json
application/json
application/json
curl -X POST "https://example.com/v1/orders/buy" \ -H "Content-Type: application/json" \ -d '{ "quoteId": "string", "partnerReference": "string" }'{ "orderId": "9c1e4b07-6d52-4a83-91fe-40ab72c5d318", "status": "funds_reserved", "kesAmount": "1281000.00", "usdtAmount": "10000.000000", "rate": "128.1000", "kesTotalAmount": "1305339.30", "fee": { "kesAmount": "24339.30", "currency": "KES", "percentBps": 190, "flatKesAmount": "0.30", "capKesAmount": null }, "expiresAt": "2026-09-02T09:30:00.000Z", "kesDebit": { "status": "reserved" }}Lock a USDT/KES rate POST
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.
Create a sell order (USDT in, KES out) POST
Consumes a sell quote and returns your deposit address. Payout is asynchronous: nothing is paid out until you attach the transaction hash of your USDT send with PATCH /v1/orders/{id} and the order reaches a terminal state. 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. Your deposit address is the same for every order, so we cannot tell your orders apart by it — the transaction hash is what attributes a deposit.