Skip to main content
GET
/
api
/
v3
/
rate
/
{from}
/
{to}
Get exchange rate
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"
  }
}

Documentation Index

Fetch the complete documentation index at: https://manual.kotanipay.com/llms.txt

Use this file to discover all available pages before exploring further.

An integrator can use this endpoint to get the exchange rate between two currencies.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

from
string
required
to
string
required

Response

success
boolean
Example:

true

message
string
Example:

"Available exchange rate."

data
object