The Get list of currency rates method returns the list of currency rates for the currency of the current reseller or any of its downstream resellers.
XML
GET {base_url}/api/v3/resellers/{reseller_id}/currency_rates
Arguments
Response model
Request example
GET /api/v3/resellers/1/currency_rates
Host: test.activeplatform.com
Content-Type: application/vnd.api+json
X-Api-Token: vY5fwetest3gJXZH5uHCw
Accept: application/vnd.api+json
Response example
JSON
{
"data": {
"id": "4",
"type": "currency_rates",
"attributes": {
"created_at": "2016-08-25T09:26:12.491+03:00",
"updated_at": "2021-06-21T11:22:17.167+03:00",
"reseller_currency_iso_code": "RUB",
"reseller_currency_unit": "руб.",
"rates": [
{
"iso_code": "BYN",
"unit": "бел. руб.",
"quantity": 4,
"rate": "6.0",
"show_for_client": true
},
{
"iso_code": "USD",
"unit": "$",
"quantity": 1,
"rate": "1.0",
"show_for_client": false
},
{
"iso_code": "EUR",
"unit": "€",
"quantity": 1,
"rate": "1.0",
"show_for_client": true
},
{
"iso_code": "UAH",
"unit": "грн.",
"quantity": 1,
"rate": "1.0",
"show_for_client": false
},
{
"iso_code": "GEL",
"unit": "лари.",
"quantity": 1,
"rate": "1.0",
"show_for_client": false
},
{
"iso_code": "AMD",
"unit": "драм.",
"quantity": 1,
"rate": "1.0",
"show_for_client": false
},
{
"iso_code": "UZS",
"unit": "сум.",
"quantity": 1,
"rate": "1.0",
"show_for_client": true
},
{
"iso_code": "AZN",
"unit": "ман.",
"quantity": 1,
"rate": "1.0",
"show_for_client": false
},
{
"iso_code": "KZT",
"unit": "тг.",
"quantity": 1,
"rate": "67.0",
"show_for_client": false
},
{
"iso_code": "VND",
"unit": "₫",
"quantity": 1,
"rate": "1.0",
"show_for_client": false
},
{
"iso_code": "BRL",
"unit": "R$",
"quantity": 1,
"rate": "1.0",
"show_for_client": true
}
]
}
}
}