curl --request GET \
--url https://api.clickpesa.com/third-parties/exchange-rates/all \
--header 'Authorization: Bearer <token>'[
{
"source": "TZS",
"target": "USD",
"rate": 0.00037736,
"date": "2025-08-19T06:59:07Z"
},
{
"source": "USD",
"target": "TZS",
"rate": 2510,
"date": "2025-08-19T06:58:34Z"
}
]Retrieve latest exchange rates between currencies. If no params are passed, all available rates will be returned.
curl --request GET \
--url https://api.clickpesa.com/third-parties/exchange-rates/all \
--header 'Authorization: Bearer <token>'[
{
"source": "TZS",
"target": "USD",
"rate": 0.00037736,
"date": "2025-08-19T06:59:07Z"
},
{
"source": "USD",
"target": "TZS",
"rate": 2510,
"date": "2025-08-19T06:58:34Z"
}
]Authorization header containing the JWT access token returned from the generate token endpoint. The token already includes the Bearer prefix. Example: Authorization: Bearer eyJhbGciOi...
Filter by source currency (3-letter ISO code) Ex. USD
"USD"
Filter by target currency (3-letter ISO code) Ex. TZS
"TZS"