Order reconciliation
Match your recorded transactions against Kashier's
Kashier reconciliation is the process of verifying that the electronic payment and refund transactions processed in your system match the transactions reported by Kashier.
Retrieve order details
Kashier enables you to retrieve details of your orders.
| Endpoint | Value |
|---|---|
| TEST URL | https://test-api.kashier.io/v3/payment/orders |
| LIVE URL | https://api.kashier.io/v3/payment/orders |
| Method | GET |
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| search | Query Parameter | Case-insensitive partial match on your merchant order id. Required. | true |
| status | Query Parameter | Order status, for example CAPTURED. | false |
| startDate | Query Parameter | Lower bound on the order date. | false |
| endDate | Query Parameter | Upper bound on the order date. | false |
| page | Query Parameter | Page number. Default 1. | false |
| limit | Query Parameter | Page size. Default 20. | false |
Headers
| Key | Description |
|---|---|
| Authorization | The Authorization is a secret key that is used to identify the merchant. You can obtain it from Kashier's dashboard. Learn more about Authorization. |
curl --location 'https://test-api.kashier.io/v3/payment/orders?search={{merchantOrderId}}&status={{status}}&startDate=2025-07-21&endDate=2025-12-23'
--header 'Authorization: YOUR_TEST_SECRET_KEY'Reconciliation verdicts
Every entry in an order's transactions[] array carries two reconciliation verdicts.
| Field | What it tells you |
|---|---|
reconcilation | Kashier's reconciliation verdict for this transaction. |
merchantWebhookReconciliation | Whether the merchant webhook for this transaction was delivered and acknowledged. |
Field spelling
reconcilation is spelled with one i in responses. Match it exactly when you parse. The neighbouring merchantWebhookReconciliation is spelled with two.
Both fields use the same four values:
| Value | Meaning |
|---|---|
OK | Reconciled and consistent. Kashier compared the two sides and they matched. |
Failed | Reconciliation ran but did not match, or could not be confirmed. Investigate this transaction. |
Not_Exists | The counterpart record was not found on the side being reconciled. |
NA | The default: not yet reconciled. Common on intermediate steps. |
OK means reconciled, not succeeded
OK is a verdict about agreement between two records, not about the money. A transaction that failed at the provider and is correctly recorded as failed on both sides is also reconcilation: "OK". To learn the outcome, read the transaction's own status (SUCCESS, FAILURE, PENDING, …) and transactionResponseCode. Never treat OK as a payment confirmation.
Response structure
{
"status": "SUCCESS",
"message": "Orders retrieved successfully",
"data": [
{
"order": {
"amount": 11179.51,
"currency": "EGP"
},
"status": "CAPTURED",
"merchantId": "MID-XXXXX-XXX",
"date": "2025-05-13T14:24:07.190Z",
"orderReference": "ORD-XXXXXXXXXX",
"merchantOrderId": "your-order-reference",
"totalRefundedAmount": 0,
"totalCapturedAmount": 11179.51,
"totalAuthorizedAmount": 11179.51,
"method": "card",
"sourceOfFunds": {
"cardInfo": {
"maskedCard": "512345******2346",
"cardBrand": "Mastercard"
}
},
"transactions": [
{
"reconcilation": "OK",
"merchantWebhookReconciliation": "OK",
"operation": "pay",
"transactionId": "TX-XXXXXXXXXX",
"status": "SUCCESS",
"amount": 11179.51,
"currency": "EGP",
"requestDate": "2025-05-13T14:24:10.283Z",
"responseDate": "2025-05-13T14:24:11.267Z",
"transactionResponseCode": "00",
"transactionResponseMessage": {
"en": "Approved",
"ar": "تمت الموافقة"
}
}
]
}
],
"pagination": {
"total": 1,
"page": 1,
"limit": 20,
"pages": 1
}
}