Partner API
Quote a USD to KES conversion
An indicative rate and the KES you would receive for an amount of USD now. Nothing is reserved: the bank fixes its rate when a conversion executes, so the executed rate can differ slightly.
get/v1/conversions/quote
Request
- Base URLhttps://sandbox.onlink.africa
- AuthAPI key in header X-OnLink-Key
Query parameters
fromstring required
Example:USD
The currency you convert from. Only USD is supported.
tostring required
Example:KES
The currency you receive. Only KES is supported.
amountstring required
Example:100.00
The amount of from to convert, as a decimal string with at most 2 decimal places.
Response
The indicative quote.
Example response
{
"rate": "128.35",
"source": "100.00",
"target": "12835.00",
"indicative": true,
"asOf": "2026-10-24T10:00:00.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.