Crypto coins

Send the “GET” request to see supported crypto coins.

Endpoint:

https://payenium.com/api/v1/currencies

cURL request example (return USD rates without param):

curl --location --request GET https://payenium.com/api/v1/operations/currencies/USD

Receive the JSON response.

Success response example:

 {
    "status": "success",
    "data": [
    {
        "name": "Ethereum",
        "cid": "ETH",
        "currency": "ETH",
        "icon": "https://payenium.com/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"
    },
    {
        "name": "Bitcoin",
        "cid": "BTC",
        "currency": "BTC",
        "icon": "https://payenium.com/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"
    },
    ]
    }

HTTP response status code: 200

Error response example:

 {
    "status": "error",
    "data": {
      "message": "Internal server error. Please contact Payenium 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