v1
latestOpenAPI 3.0.32026-07-26206388.3 KBPayment
Refund Transaction
Initiates a full or partial refund against a captured transaction.
- refundType=F for a full refund (omit totalAmount).
- refundType=P for a partial refund (totalAmount required).
post/gl/v1/payments/{gid}/refund
Path parameters
gidstring required
PayGlocal gid of the original transaction.
Request body
Example request
{
"refundType": "P",
"paymentData": {
"totalAmount": "25.00",
"txnCurrency": "INR"
}
}Response
Refund accepted.
Example response
{
"gid": "gl_9c2645ed09edb22e",
"status": "SUCCESS",
"timestamp": "10/01/2026 15:00:00"
}