Skip to main content

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.

Checkout Flow (PayCollect)

Empowering non-PCI DSS certified merchants with secure, flexible, and seamless payment methods. PayGlocal handles card details, ensuring compliance and simplicity.

Zero PCI burden

PayGlocal collects and stores card data on a PCI-compliant hosted page.

5-minute integration

Send a minimal payload; PayGlocal handles the rest.

Built-in 3DS

3D Secure authentication included automatically.

Alt payment methods

iDeal, Sofort, Trustly, giropay, wallets, BNPL — for international flows.

Payment Patterns

Choose the pattern that fits your transaction model.

JWT Authentication

Standard one-time payments with secure token-based auth. Supports all PayCollect APIs.

Standing Instructions

Automate recurring payments. Flexible FIXED / VARIABLE mandates with JWE/JWS encryption.

Auth & Capture

Flexible authorization and capture. Prevents premature charges — ideal for delayed fulfillment.

Endpoint

POST /gl/v1/payments/initiate/paycollect

Minimum Required Payload

{
  "merchantTxnId": "23AEE8CB6B62EE2AF07",
  "paymentData": {
    "totalAmount": "89",
    "txnCurrency": "INR"
  },
  "merchantCallbackURL": "https://www.yoursite.com/callback"
}

Response

{
  "gid": "gl-13bbd3c4-9817-4786-96c6-12fa6191f118",
  "status": "CREATED",
  "data": {
    "redirectUrl": "https://api.prod.payglocal.in/gl/v1/payments/redirect?x-gl-token=...",
    "statusUrl":   "https://api.prod.payglocal.in/gl/v1/payments/status?x-gl-token=..."
  }
}
Redirect the customer to data.redirectUrl. PayGlocal completes the payment and POSTs back to your merchantCallbackURL.
For Global Alternative Payment Methods (iDeal, Sofort, Trustly, giropay, EPS, wallets, BNPL), shippingData.addressCountry and customerData.emailId are required in the payload.
PayCollect does not support setting up Standing Instructions for cards through the hosted page. To create a recurring mandate, use the Standing Instructions flow.

Embedding Options

Don’t want a full-page redirect? Embed the PayCollect form directly:

CodeDrop — Modal, Drawer, or Inline

Three display modes for the hosted form — Modal dialog, side Drawer, or fully Inline.