Web Payment
Close Pre-order
When the merchant order is canceled, the merchant can proactively request GatePay to close an unpaid prepay order.
Orders in the following statuses cannot be closed: PAID / EXPIRED / ERROR / REJECTED / CANCELLED.
POST
Close prepay order
Overview
This page documents thePOST /payment/open/institution/v1/pay/order/close endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.
Notes
- Authentication uses the standard GatePay signed headers.
- This page documents the standard merchant endpoint.
- Orders in the following statuses cannot be closed:
PAID/EXPIRED/ERROR/REJECTED/CANCELLED. - For shared signing rules, see /global/api-reference/version/100/en/common/securityAndSignature.
Headers
Required delegated-subject header. Provide the initiating account ID for this request. For institution merchant APIs, this is typically the target sub-account ID; for institution charge and transfer APIs, it can be either an institution account ID or a sub-account ID.
Body
application/json

