curl -X POST "{{base_url}}/v1/exchange-rate" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{"currency_code":"KES"}'
{
"code": 200,
"message": "Exchange rates",
"data": {
"buying_rate": 129.5,
"selling_rate": 131.2
}
}
Rates
Exchange rate
Get buying and selling FX rates for a currency.
POST
/
v1
/
exchange-rate
curl -X POST "{{base_url}}/v1/exchange-rate" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{"currency_code":"KES"}'
{
"code": 200,
"message": "Exchange rates",
"data": {
"buying_rate": 129.5,
"selling_rate": 131.2
}
}
Returns partner-category FX rates for a supported currency.
string
required
ISO-style currency code, e.g.
KES, UGX, NGN.number
200 on success.string
Human-readable status.
number
Rate used in buying/offramp contexts.
number
Rate used in selling/onramp contexts.
curl -X POST "{{base_url}}/v1/exchange-rate" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{"currency_code":"KES"}'
{
"code": 200,
"message": "Exchange rates",
"data": {
"buying_rate": 129.5,
"selling_rate": 131.2
}
}
