Crypto coins
Send the “GET” request to see supported crypto coins.
Note: for the correct work of the service it is necessary to set Request IP
Endpoint:
https://api.plisio.net/api/v1/currencies?api_key=SECRET_KEY
cURL request example (return USD rates without param):
curl --location --request GET https://api.plisio.net/api/v1/currencies/USD?api_key=SECRET_KEY
Receive the JSON response.
Success response example:
{
"status": "success",
"data": [
{
"name": "Ethereum",
"cid": "ETH",
"currency": "ETH",
"icon": "https://plisio.net/img/psys-icon/ETH.svg",
"rate_usd": "0.001510773470747854",
"price_usd": "661.91",
"precision": "18",
"fiat": "USD",
"fiat_rate": "0.001512062377264748",
"min_sum_in": "0.007",
"invoice_commission_percentage": "1"
"hidden": 0
"maintenance": false
},
{
"name": "Bitcoin",
"cid": "BTC",
"currency": "BTC",
"icon": "https://plisio.net/img/psys-icon/BTC.svg",
"rate_usd": "0.00004404",
"price_usd": "22701.97",
"precision": "8",
"fiat": "USD",
"fiat_rate": "0.00004399",
"min_sum_in": "0.0000001",
"invoice_commission_percentage": "1"
"hidden": 0
"maintenance": false
},
]
}
HTTP response status code: 200
List of all supported request fields:
Field | Description |
---|---|
name | Currency name |
cid | ID column from supported cryptocurrencies |
icon | Сurrency icon |
rate_usd | Rate in USD |
price_usd | price in USD |
precision | |
fiat | Name fiat currencies |
fiat_rate | Rate in fiat |
min_sum_in | |
invoice_commission_percentage | Invoice commission percentage |
hidden | Shows what currencies are selected in store settings |
maintenance |
Error response example:
{
"status": "error",
"data": {
"message": "Internal server error. Please contact Plisio support",
"code": 108
}
}
HTTP response status codes: 500
Error response:
Field | Description |
---|---|
status | error |
data.name | error name |
data.message | error explanation |
data.code | error code |