Fee estimation

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

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

Note: for the correct work of the service it is necessary to set Request IP

 

Endpoint:

 

https://api.plisio.net/api/v1/operations/fee/<psys_cid>

cURL request example:

curl --location --request GET https://api.plisio.net/api/v1/operations/fee/BTC
    ?addresses=2N2m6XRwR8shANBwFTgCGwYtkkf6uFi6XJW
    &amounts=0.002
    &api_key=SECRET_KEY

List of all supported request fields:

FieldDescription
currencyID column from one of the supported cryptocurrencies supported by Plisio
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 withdraw
feePlannormal or priority (more info)
api_key“Secret key” value from your API » Api settings page

* - required

 

Success response example:

 

 {
    "status": "success",
    "data": {
      "fee": "0.00000775",
      "psys_cid": "BTC",
      "currency": "BTC",
      "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