v1

latestOpenAPI 3.0.32026-07-26206388.3 KB
Payment

Get Transaction Status

Returns the current lifecycle status of a payment. Recommended after every GPI (PayDirect or PayCollect), even though PayGlocal also posts updates to merchantCallbackURL — use status polling for reconciliation and as a fallback if the callback is delayed or missed.

Call GET /gl/v1/payments/{id}/status with the PayGlocal gid, or use the pre-signed statusUrl from the initiate response (data.statusUrl).

get/gl/v1/payments/{id}/status

Path parameters

idstring required

PayGlocal gid or merchantTxnId from the initiate request.

Response

Status retrieved successfully. Top-level status reflects the transaction state; data includes method-specific fields keyed by payment-method.

gidstring

PayGlocal transaction ID.

statusstring

High-level transaction status (e.g. SENT_FOR_CAPTURE, AUTHORIZED, INPROGRESS).

messagestring

Human-readable status message.

timestampstring

Response timestamp (DD/MM/YYYY HH:MM:SS).

reasonCodestring

Reason code for this status (e.g. GL-201-001).

errorsobject nullable

null on success.