Payment
Capture Authorized Transaction
Captures an authorized-only transaction (i.e., one initiated with captureTxn=false).
- captureType=F for full capture (omit totalAmount).
- captureType=P for partial capture (totalAmount required).
post/gl/v1/payments/{gid}/capture
Request
- Base URLhttps://api.payglocal.in
- AuthAPI key in header x-gl-token-external
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
gidstring required
PayGlocal gid of the authorized transaction.
Request body
Example request
{
"captureType": "F"
}Response
Capture accepted.
Example response
{
"gid": "gl_9c2645ed09edb22e",
"status": "SUCCESS",
"timestamp": "10/01/2026 15:00:00"
}Changes
No recorded changes to this operation across all 1 revision of this API.