Documentation Index
Fetch the complete documentation index at: https://payglocal.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What Are the Payment APIs?
The Payment APIs handle the full transaction lifecycle: initiating payments, tracking status, issuing refunds, and managing recurring Standing Instructions. They are separate from the Merchant Onboarding API and use a different authentication mechanism.The interactive API explorer on each endpoint page lets you test requests directly. Set your
x-gl-merchantid and key signing headers in the authentication panel to make live Sandbox calls.Authentication: RSA-signed JWS
| API Area | Auth method | Primary headers |
|---|---|---|
| Merchant Onboarding API | HmacSHA256 | x-gl-auth, x-gl-digest |
| Payment APIs | RSA-signed JWS in x-gl-token-external | x-gl-token-external (see Key Management) |
The GID — Central Transaction Identifier
Every Payment API call creates or consumes a GID (PayGlocal ID):- Always starts with
gl- - Returned in every GPI response
- Used as the path parameter for Get Status, Refund, Capture, and Reversal
- Your
merchantUniqueIdcan be used interchangeably with the GID in most endpoints
UPI (India)
Hosted PayCollect supports UPI and UPI Intent for INR. Product overview, screenshots, and a funds-flow diagram live on UPI. Request and response shapes (minimal vs enriched body, initiation vsstatusData after success, headers, callbacks) are documented on UPI Intent.
UPI
Checkout experience and how money moves from customer to settlement.
UPI Intent
PayCollect payloads, two response phases, headers, and post-success
statusData.Endpoint Reference
Payment Initiation
| Endpoint | Method | When to Use |
|---|---|---|
| GPI (Checkout Flow) | POST | Non-PCI merchants — PayGlocal collects card data |
Transaction Management
| Endpoint | Method | When to Use |
|---|---|---|
| Get Transaction Status | GET | After GPI, after callback fails, anytime you need status |
| Refund | POST | For captured payments requiring full or partial refund |
Auth & Capture (Separate Flow)
| Endpoint | Method | When to Use |
|---|---|---|
| Standalone Capture | POST | Capture a previously authorized payment (initiated with captureTxn=false) |
| Authorization Reversal | POST | Void an authorization before capture |
Standing Instructions
| Endpoint | Method | When to Use |
|---|---|---|
| Subsequent Payment (SI Sale) | POST | Charge a customer using an existing mandate |
| Cancel Mandate | PUT | Revoke a mandate to stop future debits |
| Get Mandate Status | POST | Check mandate status and payment history |
Two Processing Models
Your MID can be configured for one of two models:| Model | What happens during GPI redirect | Your action |
|---|---|---|
| Auth + Capture (default) | Full payment processed automatically | Check status after callback |
| Auth Only | 3DS authentication only | Send separate Auth + Capture calls |
Which integration is right for you?
PayCollect vs PayDirect vs Standalone vs Standing Instructions.
Payment Flow Overview
End-to-end sequence diagram for the GPI payment flow.

