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
| Field | Type | Required | Description |
|---|---|---|---|
| transactionId | String (ULID) | M | GLODIPAY transaction ID. If you send the ID of the first attempt (group ID), the latest attempt is returned |
| signature | String(max:750) | M | RSA-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.
| Field | Type | Description |
|---|---|---|
| merchantId | String | Merchant's ID |
| transactionId | String | GLODIPAY transaction ID (ULID) |
| transactionNumber | String | GLODIPAY human-readable transaction number |
| ref | String | Merchant's orderRef |
| currency | String | ISO 4217 currency code |
| amount | String | Invoice amount |
| paidAmount | String | Amount actually charged to the buyer (including buyer fees) |
| settlementAmount | String | Amount to be settled to the merchant |
| estimationSettlementAt | ISO 8601 datetime | Estimated settlement datetime |
| fees | JSON | Fee breakdown. See fees object |
| status | String | Transaction status. See Status Values |
| statusCode | String | Numeric status code as a string. See Status Codes |
| metadata | JSON | metadata from the original session, decoded to an object (values as strings) |
| paymentMethodDetails | JSON | Payment method used. See paymentMethodDetails object |
| transactionCreatedAt | ISO 8601 datetime | Transaction creation time in GLODIPAY system |
| originalTransactionCreatedAt | ISO 8601 datetime | Transaction creation time at the PSP |
| signature | String | RSA-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." }
]
}
| field | message | Cause |
|---|---|---|
transactionId / signature | Laravel validation message | Missing field, transactionId not a ULID, signature over 750 characters |
signature | signature is invalid. | Signature check failed |
null | Merchant status is {status} | Merchant account not active |
Notes
- The query response is built like the IPN notification payload, without
messageanddescriptor. Use it to reconcile payment status when an IPN was not received. - Always verify the
signaturein the query response before trusting the status. - The
transactionIdis returned in the Checkout, S2S Card, and iFrame API responses when the session is created.