v1
latestOpenAPI 3.0.32026-07-26206388.3 KBPayment
PayCollect on-demand SI — register mandate (request body)
Endpoint: POST /gl/v1/payments/initiate/paycollect — same URL for GPI, on-demand SI, auto-debit, and authorize; only the request body differs.
For merchants with on-demand SI enabled on PayGlocal. International cards only on hosted checkout. Includes standingInstruction.data only.
post/gl/v1/payments/initiate/paycollect
Request body
Example request
{
"merchantTxnId": "23AEE8CB6B62EE2AF07",
"merchantUniqueId": "IFNN939494NJFJ",
"riskData": {
"customerData": {
"merchantAssignedCustomerId": "cust_12345"
},
"shippingData": {
"addressCountry": "IND"
}
},
"merchantCallbackURL": "https://api.prod.payglocal.in/gl/v1/payments/merchantCallback",
"paymentData": {
"totalAmount": "10.00",
"txnCurrency": "INR",
"billingData": {
"firstName": "John",
"lastName": "Doe",
"emailId": "john.doe@example.com",
"callingCode": "+91",
"phoneNumber": "9999999999",
"addressStreet1": "221B Baker Street",
"addressCity": "Bengaluru",
"addressState": "Karnataka",
"addressStateCode": "KA",
"addressPostalCode": "560001",
"addressCountry": "IND"
}
},
"standingInstruction": {
"data": {
"maxAmount": "15000",
"amount": "15000",
"numberOfPayments": "N"
}
}
}Response
Returned immediately from initiate. Redirect the customer to data.redirectUrl, then poll data.statusUrl or Get Transaction Status. When mandate registration succeeds, data.mandateId may be present in data.
Example response
{
"gid": "gl_o-a057c4d6b6c620741apzp0ZX2",
"status": "INPROGRESS",
"message": "Transaction Created Successfully",
"timestamp": "02/06/2026 21:47:33",
"reasonCode": "200",
"data": {
"redirectUrl": "https://api.uat.payglocal.in/gl/payflow-ui/?x-gl-token=example",
"statusUrl": "https://api.uat.payglocal.in/gl/v1/payments/gl_9c2645ed09edb22e/status?x-gl-token=example",
"merchantTxnId": "order_1712345678",
"mandateId": "md_925996a0-9da6-42df-b968-8a14729885fd"
}
}