MCA
Get Upload Presigned URL
Generates a presigned upload URL for attaching a supporting document (e.g. invoice) to an FFMS transaction. Upload the file to the returned URL via HTTP PUT.
post/gcc/v1/ffms/external/transaction/{gid}/upload-presigned
Request
- Base URLhttps://gcc.prod.payglocal.in
- AuthAPI key in header x-gl-auth
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
gidstring required
Unique FFMS transaction identifier (from the MCA_FUND_RECEIVED webhook).
Request body
Example request
{
"amount": "1000.00",
"currency": "USD",
"invoiceType": "INVOICE",
"paymentType": "CARD",
"merchantId": "merchant_001",
"customerFullName": "John Doe",
"shippingDetails": "Bangalore, India",
"invoiceNumber": "INV-2026-00321",
"purposeCode": "P0102",
"fxRate": "83.12",
"fileName": "invoice_INV-2026-00321.pdf"
}Response
Presigned URL generated successfully.
Example response
{
"gid": "gl_XXXXXXXXXXXXXXXX",
"status": "201 CREATED",
"message": "Request completed",
"timestamp": "05/03/2026 17:35:10",
"reasonCode": "GL-201-001",
"fileName": "invoice_INV-2026-00321.pdf",
"invoiceType": "INVOICE",
"paymentType": "CARD"
}Changes
No recorded changes to this operation across all 1 revision of this API.