Partner API
Convert USD to KES
Debits the USD from your USD account and credits the KES to your KES account, asynchronously. Poll GET /v1/conversions/:id or wait for conversion.settled or conversion.failed. If the exchange cannot be completed after your USD was debited, the USD is returned to you and the conversion ends failed with the reason. No confirmation code: both accounts are your own.
post/v1/conversions
Request
- Base URLhttps://sandbox.onlink.africa
- AuthAPI key in header X-OnLink-Key
Request body
Example request
{
"from": "USD",
"to": "KES",
"amount": "100.00",
"partnerReference": "payout-run-2026-10-24",
"idempotencyKey": "cnv-2026-10-24-0001"
}Response
The conversion was accepted and is processing.
Example response
{
"id": "c0a8012e-7b1a-4c39-9d3e-2f5c8a1b6d40",
"status": "processing"
}Changes
No recorded changes to this operation across all 1 revision of this API.