curl -X POST "{{base_url}}/account/exchange-rate" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{"selling_rate":100,"from":"KES"}'
Account
Account FX convert
Convert an amount using selling or buying rate direction.
POST
/
account
/
exchange-rate
curl -X POST "{{base_url}}/account/exchange-rate" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{"selling_rate":100,"from":"KES"}'
Provide either a selling-rate conversion or a buying-rate conversion.
Selling (
Buying (
Response includes
Selling (from fiat → quote)
number
Amount in the
from currency.string
Source currency code.
Buying (to fiat ← quote)
number
Amount toward the
to currency.string
Destination currency code.
from, to, and computed rate.
curl -X POST "{{base_url}}/account/exchange-rate" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{"selling_rate":100,"from":"KES"}'
