Balance

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

2. Send the “GET” request to see the cryptocurrency balance.


Endpoint:

  https://plisio.net/api/v1/balances/<psys_cid>
  

cURL request example:

curl --location --request GET https://plisio.net/api/v1/balances/BTC
  ?api_key=SECRET_KEY

List of all supported request fields:

Field Description
api_key “Secret key” value from your API » Api settings page
psys_cid ID column from one of the supported cryptocurrencies supported by Plisio

* - required


Success response example:

   {
    "status": "success",
    "data": {
      "currency": "BTC",
      "balance": "0.00110995"
    }
  }
  

HTTP response status code: 200


Error response example:

   {
    "status": "error",
    "data": {
      "name": "Unprocessable entity",
      "message": "Unsupported currency attribute value: {\"currency\":\"BTCX\"}",
      "code": 105
    }
  }
  

HTTP response status codes: 422, 500


Error response:

Field Description
status error
data.name error name
data.message error explanation
data.code error code