API reference
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.
Authorization
partner-key X-OnLink-Key<token>
In: header
Query Parameters
from*string
The currency you convert from. Only USD is supported.
to*string
The currency you receive. Only KES is supported.
amount*string
The amount of from to convert, as a decimal string with at most 2 decimal places.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/conversions/quote?from=USD&to=KES&amount=100.00"{ "rate": "128.35", "source": "100.00", "target": "12835.00", "indicative": true, "asOf": "2026-10-24T10:00:00.000Z"}