curl --request GET \
--url https://preview.kotanipay.com/api/v3/rate/{from}/{to} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Available exchange rate.",
"data": {
"from": "USD",
"to": "EUR",
"value": "0.85"
}
}An integrator can use this endpoint to get the exchange rate between two currencies
curl --request GET \
--url https://preview.kotanipay.com/api/v3/rate/{from}/{to} \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Available exchange rate.",
"data": {
"from": "USD",
"to": "EUR",
"value": "0.85"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.