API Requests

To simplify REST API requests Plisio uses HTTP GET method only and returns JSON format only.

The URL to the API is: https://plisio.net/api/v1

Optionally, you can include query parameters on GET calls to filter, limit the size of, and sort the data in the responses.

This sample request lists transactions/invoices:

curl -v -X GET https://plisio.net/api/v1/operations?api_key=<Secret-Key>page=3&page_size=4 \
  -H "Content-Type: application/json"

Actions

Transactions

curl -v -X GET https://plisio.net/api/v1/operations?api_key=<Secret-Key> \
  -H "Content-Type: application/json"

Query parameters:

currency string Any cryptocurrency name. Example: BTC
type string Supported types: cash_in, cash_out, mass_cash_out, invoice
status string Supported statuses: new, pending, completed, expired, error
page integer Page number
limit integer Number of elements on a page
search string Search by fields: id, tx_id, params.from, params.order_number

 

Transaction details

curl -v -X GET https://plisio.net/api/v1/operations/<id>?api_key=<Secret-Key> \
  -H "Content-Type: application/json"

Withdraw / Mass withdraw

curl -v -X GET https://plisio.net/api/v1/operations/withdraw?currency=BTC&type=cash_out&to=2NG7qVS49uDnKyk2qmbv7JZG4vEJyBgjje3&amount=0.0001&api_key=<Secret-Key> \
  -H "Content-Type: application/json"

 

curl -v -X GET https://plisio.net/api/v1/operations/withdraw?currency=BTC&type=mass_cash_out&to=2NG7qVS49uDnKyk2qmbv7JZG4vEJyBgjje3,2N21QePgMLtnNJyNDAJKU94aPY1JM6BwTpn&amount=0.0001,0.0001&api_key=<Secret-Key> \
  -H "Content-Type: application/json"

Query parameters

currency string Any cryptocurrency name. Example: BTC
type string Supported types: cash_out, mass_cash_out
to string Wallet address where are you going to send coins. In a case of mass_cash_out use comma separated addresses
amount string Amount of coins to send. In a case of mass_cash_out use comma separated amount in a appropriate order as addresses

 

Create invoice

curl -v -X GET https://plisio.net/api/v1/invoices/new?currency=BTC&amount=0.0001&order_number=1&order_name=test&api_key=<Secret-Key> \
  -H "Content-Type: application/json"

Query parameters

currency string Any cryptocurrency name. Example: BTC
order_number string Any value to specify order number
order_name string Any value to specify order name
amount string Amount of coins to request

 

Balance

curl -v -X GET https://plisio.net/api/v1/balances?currency=BTC&api_key=<Secret-Key> \
  -H "Content-Type: application/json"

 

Query parameters

currency string Any cryptocurrency name. Example: BTC

 

Fee plans

curl -v -X GET https://plisio.net/api/v1/fee-plan?currency=BTC&api_key=<Secret-Key> \
  -H "Content-Type: application/json"

Query parameters

currency string Any cryptocurrency name. Example: BTC
 

 

Fee

curl -v -X GET https://plisio.net/api/v1/operations/fee?currency=BTC&addresses=2NG7qVS49uDnKyk2qmbv7JZG4vEJyBgjje3&amounts=0.001&plan=priority&api_key=<Secret-Key> \
  -H "Content-Type: application/json"

Query parameters

currency string Any cryptocurrency name. Example: BTC
 
addresses string Wallet address or comma separated addresses in a case of estimating fee to mass withdraw
amounts string An amount that will be send or comma separated amounts in a case of mess withdraw
plan string Supported values: normal, priority. If you want to send coins quickly - use priority plan.

 

Commission

curl -v -X GET https://plisio.net/api/v1/operations/commission?currency=BTC&addresses=2NG7qVS49uDnKyk2qmbv7JZG4vEJyBgjje3&amounts=0.001&feePlan=priority&api_key=<Secret-Key> \
  -H "Content-Type: application/json"

Query parameters

currency string Any cryptocurrency name. Example: BTC
 
addresses string Wallet address or comma separated addresses in a case of estimating fee to mass withdraw
amounts string An amount that will be send or comma separated amounts in a case of mess withdraw
feePlan string Supported values: normal, priority. If you want to send coins quickly - use priority plan.