Payenium Fee

1. Create your website and get the “SECRET_KEY”. Instruction can be found here.

2. Send the “GET” request to see available fee plans.

Endpoint:

https://payenium.com/api/v1/operations/commission/<psys_cid>

cURL request example:

curl --location --request GET https://payenium.com/api/v1/operations/commission/BTC
    ?addresses=2N2m6XRwR8shANBwFTgCGwYtkkf6uFi6XJW
    &amounts=0.003
    &type=cash_out
    &api_key=SECRET_KEY

List of all supported request fields:

FieldDescription
currencyID column from one of the supported cryptocurrencies supported by Payenium
addresseswallet address or comma separated addresses when estimating fee for mass withdrawal
amountsamount or comma separated amount that will be send in case of mass withdrawal
feePlannormal or priority (more info)
api_key“Secret key” value from your API » Api settings page

* – required

Success response example:

 {
    "status": "success",
    "data": {
      "commission": "0.00000000",
      "fee": "0.00001020",
      "plan": "normal"
    }
  }

HTTP response status code: 200

Error response example:

 {
    "status": "error",
    "data": {
      "name": "Unprocessable entity",
      "message": "{\"balance\":\"Insufficient funds on balance\"}",
      "code": 116
    }
  }

HTTP response status codes: 422, 500

Error response:

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