Skip to main content

Transaction Query

Query the current status and full details of any transaction — whether created via Checkout, S2S Card, or iFrame.

Endpoint: POST /v2/checkout/query
Content-Type: application/json


Request​

FieldTypeRequiredDescription
transactionIdString (ULID)MGLODIPAY transaction ID. If you send the ID of the first attempt (group ID), the latest attempt is returned
signatureString(max:750)MRSA-MD5 signature. See Signature

Example request:

{
"transactionId": "01jza90dy6w82dfrrqvadn5vs4",
"signature": "base64-encoded-signature"
}

Response​

Content-Type: application/json

The transaction object is returned at the top level (no status/data wrapper). All values are strings; empty fields (null, empty, 0) are omitted.

FieldTypeDescription
merchantIdStringMerchant's ID
transactionIdStringGLODIPAY transaction ID (ULID)
transactionNumberStringGLODIPAY human-readable transaction number
refStringMerchant's orderRef
currencyStringISO 4217 currency code
amountStringInvoice amount
paidAmountStringAmount actually charged to the buyer (including buyer fees)
settlementAmountStringAmount to be settled to the merchant
estimationSettlementAtISO 8601 datetimeEstimated settlement datetime
feesJSONFee breakdown. See fees object
statusStringTransaction status. See Status Values
statusCodeStringNumeric status code as a string. See Status Codes
metadataJSONmetadata from the original session, decoded to an object (values as strings)
paymentMethodDetailsJSONPayment method used. See paymentMethodDetails object
transactionCreatedAtISO 8601 datetimeTransaction creation time in GLODIPAY system
originalTransactionCreatedAtISO 8601 datetimeTransaction creation time at the PSP
signatureStringRSA-MD5 signature — verify with RSA Public Key. See Signature

Example response:

{
"merchantId": "1100000123",
"transactionId": "01jza90dy6w82dfrrqvadn5vs4",
"transactionNumber": "2604-1713100800",
"ref": "ORDER-001",
"currency": "USD",
"amount": "100.00",
"paidAmount": "105.00",
"settlementAmount": "95.00",
"estimationSettlementAt": "2026-04-16T00:00:00+00:00",
"fees": {
"buyer": "5.00",
"seller": "5.00",
"rolling": "2.00",
"operate": "3.00",
"estimationRollingReleaseAt": "2026-05-14T00:00:00+00:00"
},
"status": "successful",
"statusCode": "6",
"paymentMethodDetails": {
"displayName": "Credit / Debit Card",
"group": "card",
"family": "card",
"type": "card",
"card": {
"name": "John Doe",
"firstSixDigits": "411111",
"lastFourDigits": "1111",
"expiryMonth": "01",
"expiryYear": "30",
"type": "visa"
}
},
"metadata": { "orderId": "12345" },
"transactionCreatedAt": "2026-04-14T10:00:00+00:00",
"originalTransactionCreatedAt": "2026-04-14T10:00:01+00:00",
"signature": "base64-encoded-rsa-signature"
}

Errors​

Returned with HTTP 200 and no status field. Only the first error is reported.

{
"errors": [
{ "field": "signature", "message": "signature is invalid." }
]
}
fieldmessageCause
transactionId / signatureLaravel validation messageMissing field, transactionId not a ULID, signature over 750 characters
signaturesignature is invalid.Signature check failed
nullMerchant status is {status}Merchant account not active

Notes​

  • The query response is built like the IPN notification payload, without message and descriptor. Use it to reconcile payment status when an IPN was not received.
  • Always verify the signature in the query response before trusting the status.
  • The transactionId is returned in the Checkout, S2S Card, and iFrame API responses when the session is created.

Bookmarks

No bookmarks yet.
Hover over a heading and click to save a section.