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
Request
- Base URLhttps://api.payglocal.in
- AuthAPI key in header x-gl-token-external
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
Changes
No recorded changes to this operation across all 1 revision of this API.