Skip to main content

Check Invoice

Use this endpoint only when the API returns Pending for InvoiceStatus. It lets you confirm whether the invoice is still pending or has been paid.

Endpoint​

POST /CheckInvoiceStatus?hash={{hash}}

Base URL: https://edahab.net/api/api/

Request Body​

These properties are essential for the process:

{
"apiKey": "your-api-key",
"invoiceId": "ABC"
}

Request Parameters​

  • API Key: A unique string provided to you.
  • InvoiceId: This is the invoice ID we generated in the previous step.

Response Body​

{
"InvoiceStatus": "Paid",
"TransactionId": "MP260222.1316",
"invoiceId": "INV123456789",
"StatusCode": 0,
"RequestId": 387288,
"StatusDescription": "Success",
"validationErrors": null
}