KashierDevelopersKashier Developers
Accept payments

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.

Parameters

ParameterTypeDescriptionRequired
searchQuery ParameterCase-insensitive partial match on your merchant order id. Required.true
statusQuery ParameterOrder status, for example CAPTURED.false
startDateQuery ParameterLower bound on the order date.false
endDateQuery ParameterUpper bound on the order date.false
pageQuery ParameterPage number. Default 1.false
limitQuery ParameterPage size. Default 20.false

Headers

KeyDescription
AuthorizationThe 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.

FieldWhat it tells you
reconcilationKashier's reconciliation verdict for this transaction.
merchantWebhookReconciliationWhether 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:

ValueMeaning
OKReconciled and consistent. Kashier compared the two sides and they matched.
FailedReconciliation ran but did not match, or could not be confirmed. Investigate this transaction.
Not_ExistsThe counterpart record was not found on the side being reconciled.
NAThe 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
  }
}

On this page