KashierDevelopersKashier Developers

Get invoice

curl -X GET "https://test-api.kashier.io/v2/paymentRequest/string"
{  "body": {    "paymentRequestId": "PR-XXXXXXXXXX",    "merchantId": "MID-XXXX-XXXX",    "paymentType": "professional",    "totalAmount": 100,    "currency": "EGP",    "description": "February retainer",    "customerName": "Ahmed Hassan",    "email": "[email protected]",    "state": "submitted",    "paymentStatus": "paid",    "tax": 14,    "dueDate": "2030-01-01 00:00:00+00:00",    "creationDate": "2026-07-30 09:12:44.201000+00:00",    "availableAmountForRefund": 100,    "invoiceItems": [      {        "itemName": "Design work",        "description": "Landing page design",        "quantity": 2,        "unitPrice": 40,        "subTotal": 80      },      {        "itemName": "Hosting",        "description": "One month",        "quantity": 1,        "unitPrice": 20,        "subTotal": 20      }    ],    "transactions": [      {        "transactionInfoId": "TX-243585751279",        "orderReference": "TEST-ORD-193402001",        "amount": 100,        "currency": "EGP"      }    ]  },  "message": "success"}

Retrieves a single invoice, including its line items and any payment transactions recorded against it.

Authorization

secretKey
Authorization<token>

Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).

In: header

Path Parameters

paymentRequestId*string

The invoice identifier returned when the invoice was created (e.g., PR-XXXXXXXXXX).

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

GET
/v2/paymentRequest/{paymentRequestId}