Documentation Index
Fetch the complete documentation index at: https://docs.payglocal.in/llms.txt
Use this file to discover all available pages before exploring further.
Sandbox Environment
The Sandbox is a full replica of Production — same API, same response structure, same authentication — but no real transactions are processed. All test data is isolated and reset periodically.| Sandbox | Production | |
|---|---|---|
| API Base URL | https://api.uat.payglocal.in | https://api.prod.payglocal.in |
| Control Center | https://gcc.uat.payglocal.in | https://gcc.prod.payglocal.in |
| Real transactions | No | Yes |
| Key download | Separate sandbox keys | Separate production keys |
Setting Up Sandbox Credentials
- Log in to
https://gcc.uat.payglocal.inwith your sandbox account credentials. - Navigate to Key Management → API Keys and create a new key pair.
- Download your Private Key (PVT-KEY) — this is your only chance to download it.
- Download PayGlocal’s Public Certificate (PUBCERT) from Manage Keys.
- Configure your client code with the sandbox MID, key paths, and extracted KIDs.
Test PANs for Merchant Onboarding
Use these PAN formats to test different entity types in the Create Onboarding endpoint:| Entity Type | PAN Format | panType value |
|---|---|---|
| Individual / Proprietorship | Starts with P — e.g., ABCPE1234F | P |
| Company | Starts with C — e.g., ABCCE1234F | C |
| Trust | Starts with T — e.g., ABCTE1234F | T |
| Firm | Starts with F — e.g., ABCFE1234F | F |
Contact your PayGlocal integration representative for specific sandbox test PANs that pass validation.
Test Cards for Payment Integration
Use these card numbers to simulate different payment outcomes in Sandbox:| Scenario | Card Number | Expiry | CVV |
|---|---|---|---|
| Successful payment | 4111111111111111 | Any future date | Any 3 digits |
| Successful payment (Mastercard) | 5132552222223470 | Any future date | Any 3 digits |
| Issuer decline | 4000000000000002 | Any future date | Any 3 digits |
| Insufficient funds | 4000000000009995 | Any future date | Any 3 digits |
| Card expired | Any valid number | Past date | Any 3 digits |
| 3DS authentication required | 4000000000003220 | Any future date | Any 3 digits |
These are standard Stripe/test card numbers for reference. Contact your PayGlocal integration team for the exact sandbox test cards validated for your MID.
Simulating Specific Scenarios
Test a Full Payment Flow
- Create a GPI request with a success test card.
- Redirect to the
redirectUrl— PayGlocal’s Sandbox payment page opens. - Complete the payment on the test page (no real card processing).
- PayGlocal redirects back to your
merchantCallbackURLwithx-gl-token. - Validate the token and extract the
SENT_FOR_CAPTUREstatus. - Call Get Status to confirm.
Test a Declined Payment
- Use a decline test card in the GPI request.
- After redirect and callback, the token will carry a decline status.
- Validate your error handling and customer messaging.
Test 3DS Flow
- Use a 3DS test card.
- PayGlocal’s Sandbox page will simulate the 3DS challenge step.
- Complete the simulated challenge to proceed.
Test Standing Instructions
- Include
standingInstruction.datain your GPI request. - After the first successful payment, call Get Status to retrieve the
maskedMandateIdandsiId. - Use the Mandate ID in a subsequent SI Sale request.
- Verify the response shows
SENT_FOR_CAPTURE.
Test Refunds
- Complete a successful payment (status:
SENT_FOR_CAPTURE). - Call the Refund endpoint with the GID.
- Verify the response shows
SENT_FOR_REFUND.
Partner Onboarding Bank Verification
Use these values when testing Update Bank Details in UAT:| Field | UAT success value | Any other value |
|---|---|---|
| Bank Account Number | 1234567890 | Triggers CANCELLED_CHEQUE pendency in documentsToBeUploaded |
| IFSC Code | SBIN0000000 | Triggers CANCELLED_CHEQUE pendency in documentsToBeUploaded |
CANCELLED_CHEQUE to the pending documents list. Upload a cancelled cheque via Upload Documents with merchantDocType: CANCELLED_CHEQUE.
Sandbox Limitations
- Auto Debit webhook delivery may be delayed in Sandbox.
- Some alternative payment methods (iDeal, Sofort, etc.) may not be available in Sandbox.
- VKYC and DigiLocker in the iFrame use test flows — no real identity verification occurs.
- Penny drop bank account verification in UAT uses fixed test values — account
1234567890, IFSCSBIN0000000. See Partner Onboarding Bank Verification.
Go-Live Checklist
Before requesting Production access:- All API calls return expected responses in Sandbox
- Callback URL validation working (token signature verification)
- Get Status fallback implemented (in case callback fails)
- Error handling for all decline and error status codes
- Risk data included for international card transactions
-
merchantUniqueIdis unique per transaction - Keys stored securely server-side (not in client-side code)
- Submitted sandbox testing evidence to PayGlocal for go-live approval

