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:

FieldDescription
nameCurrency name
cidID column from supported cryptocurrencies
iconСurrency icon
rate_usdRate in USD
price_usdprice in USD
precision 
fiatName fiat currencies
fiat_rateRate in fiat
min_sum_in 
invoice_commission_percentageInvoice commission percentage
hiddenShows 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:

 

FieldDescription
statuserror
data.nameerror name
data.messageerror explanation
data.codeerror code