List Invoices

Dive into the specifics of each API endpoint by checking out our complete documentation.

Fetch Invoice List

POST /invoices

Get last 10 record of active invoice list.

In this request you can get 10 records of pending (not payed or not canceled) invoice list to manage your data to ours.

As a result of this request, you will receive an invoice object in the form of a list, similar to the result you receive when creating an invoice.

Returns last 10 records of invoice list

post
/invoices
Authorizations
AuthorizationstringRequired
Body
merchant_idstringRequired
Responses
200

successful operation

application/json
post
/invoices
POST /api/merchant/invoices HTTP/1.1
Host: kriptopay.com
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 18

"merchant_id=''"
200

successful operation

[
  {
    "order_id": "123e4567-e89b-12d3-a456-426614174000",
    "order_number": 1234,
    "status": "draft",
    "url": "https://kriptopay.com/invoice/3fa85f642c963f66afa6",
    "transaction_id": "text",
    "identifier": "text"
  }
]

Response Body

Name
Type
Description

order_id

string

The Unique order id created by our system.

order_number

string

Human readable order number that you can see and manage in Kriptopay admin panel.

status

enum

Status of an order to describe its status

transaction_id

string

Transaction id generated by you when creating invoice

identifier

string

Identifiy your customer/product/order to manage in your records.

txn_id

string

The transaction number that the customer sees on the payment screen.

Responses

{
    "success": true,
    "data": [
        {
            "order_id": "4693edfc-dccf-4da7-80b4-9ebcc3c7b9bd",
            "order_number": "25",
            "status": "created",
            "url": "https://kriptopay.com/invoice/T3JkZXI6NDY5M2VkZmMtZGNjZi00ZGE3LTgwYjQtOWViY2MzYzdiOWJk",
            "transaction_id": "test",
            "txn_id": "2RLODRhg5vZC",
            "identifier": "user_id"
        },
        ...
    ]
}

Last updated