/listinvoices method

To get a list of all your invoices filtered by given parameters, send a POST request to the /api/merchant/v1/getinvoice

Red color indicates required parameters

Parameter

Type and Values

Description

merchant_id

<UUID>

Merchant ID

invoice_status

<string>

paid
unpaid
cancelled
mispaid

Invoice status

invoice_currency

<string>

usd – US dollar
eur – Euro
rur – Rubles

blackcoin
bitcoin
dash
dogecoin
emercoin
litecoin
peercoin

Invoice currency

checkout_currency

<string>

blackcoin
bitcoin
dash
dogecoin
emercoin
litecoin
peercoin

Checkout currency

secret_hash

<string>

Verification hash

 

sha1(string&secret)

A successful request will result in a JSON-formatted document containing the total amount of matching invoices and an array with their IDs.

Response example for 5 matching invoices

{
   "invoice_count": 5,
   "invoice_list": [
      "732a9bd985ca86f4a5ea60121ae19231",
      "db16fd18ce788c4ea338cda806e29042",
      "730d1e91f5c62af8e5ba7612458e4c43",
      "0146217e08b8724515086edaf72bc264",
      "94a45749b7cad8a004a6ab3e512fe815"
   ]
}