Reference
/- Get current FX conversion rate
Get historic FX rate
Fetch available FX currencies
Execute FX transfer between wallets
Get current FX conversion...
Returns the current exchange rate between two currencies, including buy/sell markup.
Security
oauth2ClientCredentials(Required scopes: fx:write)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/fx/conversion-rate
- Productionhttps://api.boyahq.com/v2/fx/conversion-rate
- Sandboxhttps://sandbox.api.boyahq.com/v2/fx/conversion-rate
curl -i -X POST \
https://developer.boyahq.com/_mock/v2/openapi/fx/conversion-rate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'business_id: string' \
-d '{
"from": "USD",
"to": "KES"
}'Response
{ "from": "USD", "to": "KES", "rate": 129.122, "timestamp": "2026-04-23T00:00:00Z", "markup": { "buy": 2, "sell": 2 } }