System currencies¶
Parameters¶
HTTP method |
Access rights |
URL | Parameters |
Note |
---|---|---|---|---|
GET | public_data | https://api.admitad.com/currencies/ |
|
Returns the list of currencies.* |
* Returns the result in the JSON format.
** Sets skipping and the number of records returned. For example limit=5&offset=2.
Example of use¶
Example of a request with utility ``curl``:
curl -L -H 'Authorization: Bearer access_token' -X GET https://api.admitad.com/currencies/
Example of the response from the API server in the JSON format:
{
"results": [
{
"code": "EUR",
"min_sum": "20.00",
"name": "Euro",
"sign": "€"
},
{
"code": "RUB",
"min_sum": "750.00",
"name": "Russian ruble",
"sign": "руб."
},
{
"code": "USD",
"min_sum": "25.00",
"name": "American dollar",
"sign": "$"
}
],
"_meta": {
"count": 3,
"limit": 20,
"offset": 0
}
}
Description of API server response fields¶
Name |
Description |
---|---|
code | Currency code |
name | Name of currency |
sign | Currency symbol |
min_sum | The minimum amount allowed for withdrawal |