Retrive Invoice

Retrive and invoice and perform status of this invoice.

Retrive Invoice by ID

POST /invoice/{invoiceId}

Get an invoice detail by invoice ID

Find invoice by ID

post
/invoice/{invoiceId}
Authorizations
AuthorizationstringRequired
Path parameters
invoiceIdstringRequired

ID of pet that needs to be fetched

Body
merchant_idstringRequired
Responses
200

successful operation

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

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

Get Invoice Detail

GET /invoice/{invoiceId}

Body

Name
Type
Description

merchant_id

string

Your Merchnat Id

Example Response

{
    "success": true,
    "data": {
        "order_id": "086c088e-8c93-41cf-a22a-ad7178520c16",
        "order_number": "4",
        "status": "authorized",
        "url": "https://kriptopay.com/invoice/T3JkZXI6MDg2YzA4OGUtOGM5My00MWNmLWEyMmEtYWQ3MTc4NTIwYzE2",
        "transaction_id": "kVzHkjBnUYjm",
        "txn_id": "2RLODRhg5vZC",
        "identifier": "test-user"
    }
}

Last updated