fx
Boya API
Bills · Manage
Bills · Payments
Bills · Approval workflows
Bills · Budgets & setup
Bills · Attachments
payments
approvals
Expenses · Retrieve
Expenses · Review & approvals
Expenses · Reports
Expenses · Exports
Cards · Manage
Cards · Controls
Cards · Single-use
Cards · Physical cards
Cards · Authorization
subscriptions
tags
transactions
accounts
categories
taxes
vendors
customers
employees
teams
Investments · Portfolio & accounts
Investments · Fund movements
Investments · Access & permissions
business-policies
Wallet policies · Policies
Wallet policies · Permissions
Wallet policies · Access checks
Wallet policies · Audit
roles
audit-trail
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 } }