Plisio 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://plisio.net/api/v1/operations/commission/<psys_cid>
cURL request example:
curl --location --request GET https://plisio.net/api/v1/operations/commission/BTC
?addresses=2N2m6XRwR8shANBwFTgCGwYtkkf6uFi6XJW
&amounts=0.003
&type=cash_out
&api_key=SECRET_KEY
List of all supported request fields:
Field | Description |
---|---|
currency | ID column from one of the supported cryptocurrencies supported by Plisio |
addresses | wallet address or comma separated addresses when estimating fee for mass withdrawal |
amounts | amount or comma separated amount that will be send in case of mass withdrawal |
feePlan | normal 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:
Field | Description |
---|---|
status | error |
data.name | error name |
data.message | error explanation |
data.code | error code |