Get all exchange rates
https://sandboxapi.onbrails.com/api/v1/wallets/payout/rate/{{currency}} (opens in a new tab)
Path Parameters
Parameter | type | Required |
---|---|---|
currency | string | ✅ |
Request
Exchange Rates/Get all exchange rates [GET]
curl --request GET \
--url https://sandboxapi.onbrails.com/api/v1/wallets/payout/rate/{currency} \
--header 'Authorization: Bearer YOUR_SECRET_KEY' \
--header 'accept: application/json'
Responses
🟢 200 - Result example
{
"status": true,
"message": "KES rate successfully retrieved",
"data": {
"currency": "KES",
"sellRate": 124.7,
"buyRate": 130.6
}
}