Get merchant's Invoices
Returns a paginated list of Invoices filtered by the specified criteria.
Request
- Base URLhttps://confirmo.net/api
- URLhttps://confirmo.net/api/v3/invoices
- AuthHTTP bearer
Query parameters
Maximum number of the Invoices to return.
Number of the Invoices to skip.
Sort column and order direction separated by comma.
Search text to filter by the Invoice ID, the customer e-mail, the crypto address, the TXID or the reference.
Filter by the Invoice status.
Filter by the creation date - start timestamp (Unix epoch in seconds).
Filter by the creation date - end timestamp (Unix epoch in seconds).
Filter by the merchant currency (the original Invoice currency).
Filter by the minimum merchant amount.
Filter by the maximum merchant amount.
Filter by the customer payment asset.
Filter by the minimum customer payment amount.
Filter by the maximum customer payment amount.
Filter by the Invoice source type.
Filter by POS device IDs (only applicable when sourceType=POS).
When true, Invoices with exceptions will be listed first.
Response
OK
Example response
{
"data": [
{
"activeSince": 1506080071,
"address": "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy",
"buttonInvoiceId": "paby8ngx1eox",
"closedAt": 1506080071,
"confirmingSince": 1506080071,
"createdAt": 1506080071,
"cryptoTransactions": [
{
"confirmations": 6,
"createdAt": 1594376981,
"sourceAddresses": [
"1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
"3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy"
],
"txid": "4f13bc54e8df1620f98934078caaa59c7b480f3ed64e9838f5af519f311bb0b1",
"updatedAt": 1594376981
}
],
"cryptoUri": "litecoin:mnLU9vBK7L1WY6JNnGYY...Jdjwfnti4Cu9xz?amount=1.00000000",
"customerAmount": {
"amount": 1000,
"currency": "EUR"
},
"customerEmail": "customerEmail@email.com",
"emailInvoiceId": "emi4og3r6g3w",
"errorSince": 1506080071,
"expiredSince": 1506080071,
"flags": {
"overpaymentResolvable": true
},
"id": "invl8em3zdkr",
"layer2Attributes": {
"protocolName": "LIGHTNING"
},
"merchantAmount": {
"amount": 1000,
"currency": "EUR"
},
"notifyEmail": "orderReceived@yourEShop.com",
"notifyUrl": "https://yourEShop.com/orderReceived",
"paid": {
"currency": "LTC"
},
"paidSince": 1506079178,
"paymentMethodId": "BITCOIN-BLOCKCHAIN-MAINNET-BTC-CURRENCY",
"pendingVerificationSince": 1506080071,
"preparedSince": 1506080071,
"product": {
"description": "Small silver computer",
"name": "Computer"
},
"rate": {
"currencyFrom": "EUR",
"currencyTo": "LTC"
},
"reference": "string {'customer_mail': 'customer@example.com'}",
"refundLink": "https://pay.confirmo.com/public/permit-refund/aW52MDJleTI0MWdrNGE5MmFjNGRkYTE1YjQ5ZDI3MzA4NzBhYWEzYjc5YzE=?refundEmail=test@bitcoin.com&merchantId=dfjeivkdienmv",
"refunds": [
{
"address": "3Bp6GX52uY574Uq7k6opCx1zHd5hVhAXHq",
"createdAt": 1594376981,
"id": "refz0gr3qgx9",
"notifyEmail": "test@test.com",
"refundedAt": 1594376981,
"substatus": "SCREENING_IN_PROGRESS",
"txid": "4f13bc54e8df1620f98934078caaa59c7b480f3ed64e9838f5af519f311bb0b1",
"updatedAt": 1594376981
}
],
"requiredConfirmations": 2,
"requiredConfirmationsToRefund": 6,
"resolvedByEmail": "user@mail.ex",
"resolvedManually": true,
"returnUrl": "https://yourEShop.com/orderReceived",
"settlement": {
"createdAt": 1561363200,
"currency": "EUR",
"id": "setv9e1qxgz8"
},
"settlementAmount": {
"amount": 1000,
"currency": "EUR"
},
"takeInfo": {
"customerCurrency": "LTC",
"expiration": 1552987955,
"expirationDuration": 120,
"offeredSettlementAmount": 3198,
"settlementCurrency": "EUR",
"taken": true,
"takenAt": 1552987719
},
"timeoutTime": 1506080071,
"unhandledExceptions": true,
"url": "https://pay.confirmo.com/public/invoice/NOLvQIt2na6kfXBb?m=dfjeivkdienmv",
"version": 42
}
],
"limit": 20,
"order": "createdAt, desc",
"totalCount": 150
}Changes
No recorded changes to this operation across all 1 revision of this API.