API Reference
Get exchange rate by currency [GET]

Get all exchange rates

https://sandboxapi.onbrails.com/api/v1/wallets/payout/rates/{currency} (opens in a new tab)

Path Parameters

ParametertypeRequired
currencystring

Request

Exchange Rates/Get all exchange rates [GET]
curl --request GET \
     --url https://sandboxapi.onbrails.com/api/v1/wallets/payout/rates/currency \
     --header 'Authorization: Bearer YOUR_SECRET_KEY' \
     --header 'accept: application/json'

Responses

🟢 200 - Result example
{
  "status": true,
  "message": "KES rate successfully retrieved",
  "data": {
      "USD/KES": 147.74,
  }
}