Skip to main content

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

The Payment APIs use RSA-signed JWS (and optionally JWE payload encryption) — not the HmacSHA256 used by the Onboarding API. These are two different auth systems.
You use your PVT-KEY to sign requests; PUBCERT verifies responses and may encrypt the body when your integration requires JWE. See Key Management and Constructing API Requests for setup.

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 merchantUniqueId can 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 vs statusData 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

PCI-certified PayDirect initiate is documented under Seamless Flow (PayDirect) → GPI in the sidebar.

Transaction Management

Auth & Capture (Separate Flow)

Standing Instructions


Two Processing Models

Your MID can be configured for one of two models: Contact PayGlocal merchant support to configure your preferred model.

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.