Skip to content
MrIvoryMrIvory
Connect processor Merchant panel

Enquiry

Transaction status

POST /pgui/services/paymentServices/transactionStatus — JSON. Call this before you ship or credit a customer. Return-URL and webhook can be lost.

Request

FieldRequiredNotes
APP_IDYesYour APP_ID
ORDER_IDYesOriginal sale order
CURRENCY_CODEYesMust be present; used for HASH
AMOUNTYesMust be present; used for HASH
TXN_IDNoIf set, only that id is returned
HASHYes

The response is a JSON array. Each sale or refund for that order is one object. The last object is always {"API_RESPONSE":"000"}.

JSON
[
  {
    "RESPONSE_CODE": "000",
    "STATUS": "Captured",
    "TXN_ID": "…",
    "ORDER_ID": "S2S-001",
    "AMOUNT": "1000",
    "AMOUNT_DECIMAL": "10.00",
    "CARD_MASK": "510000******0511",
    "MOP_TYPE": "MC",
    "HASH": "…"
  },
  { "API_RESPONSE": "000" }
]

If nothing matches: one object with RESPONSE_CODE=302, STATUS=Failed, then the same API_RESPONSE trailer. Each txn object is signed; the trailer is not.

Refunds created for that ORDER_ID appear as extra array items (kind is not exposed; amounts and messages differ).