Query Withdrawal Status
Query the status and details of a batch withdrawal order and its sub-orders by batch ID and detail status.
Overview
This page documents thePOST /withdraw/open/institution/v1/pay/payouts/detail 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 institution-path variant of the same API.
- Institution requests must include
X-GatePay-On-Behalf-Ofto indicate the initiating account context for the delegated request. - For shared signing rules, see /api-reference/version/100/en/common/securityAndSignature.
Institution Notes
- Institutional requests must include
X-GatePay-On-Behalf-Ofto specify the institutional sub-account to operate on.
Headers
The clientId assigned when the merchant registers an application in the Gate merchant console.
"4186d0c6-6a35-55a9-8dc6-5312769dbff8"
Request signature. GatePay uses this signature to verify whether the request is valid.
Millisecond timestamp; the difference from server time must not exceed 30 seconds.
"1672905655498"
Random string. Must comply with HTTP header rules; recommended length is within 32 characters, composed of digits and letters.
"9578"
Body
Request body for querying batch withdrawal status.
Unique batch ID generated by the merchant at /v1/pay/withdraw.
Query status of sub-orders
ALL: all sub-orders
INIT :new added sub-orders
PENDING: pending sub-orders
PROCESSING: submitted withdrawal request, pending confirmation
CHECK: in review
FAIL: failed sub-orders
DONE: successful sub-orders.
Response
Withdrawal batch details
Response body for querying batch withdrawal status.
Main order status: INIT (newly created order), PROCESSING (newly created payout order is in processing), PARTIAL (partially successful), FAIL (fully failed), SUCCESS (fully successful)
Error code
Error message
Batch withdrawal details

