Skip to main content
POST
Place withdrawal order

Overview

This page documents the POST /withdraw/open/institution/v1/pay/create/payouts 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-Of to indicate the initiating account context for the delegated request.
  • For shared signing rules, see /global/api-reference/version/100/en/common/securityAndSignature.

Institution Notes

  • Institutional requests must include X-GatePay-On-Behalf-Of to specify the institutional sub-account to operate on.

Headers

X-GatePay-Certificate-ClientId
string
required

The clientId assigned when the merchant registers an application in the Gate merchant console.

Example:

"4186d0c6-6a35-55a9-8dc6-5312769dbff8"

X-GatePay-Signature
string
required

Request signature. GatePay uses this signature to verify whether the request is valid.

X-GatePay-Timestamp
string
required

Millisecond timestamp; the difference from server time must not exceed 30 seconds.

Example:

"1672905655498"

X-GatePay-Nonce
string
required

Random string. Must comply with HTTP header rules; recommended length is within 32 characters, composed of digits and letters.

Example:

"9578"

X-GatePay-On-Behalf-Of
string
required

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

Request body for placing a batch withdrawal order.

batch_id
string
required

A unique ID generated by the merchant, composed of uppercase and lowercase letters, numbers, and underscores, max length 32 characters.

withdraw_list
object[]
required

Details of each withdrawal sub-order.

channel_id
string

Client name.

batchRemark
string

Remark. Maximum length 200 characters.

Response

200 - application/json

Withdrawal batch created

Response body for placing a batch withdrawal order.

status
string
required

API response result, SUCCESS or FAIL.

code
string
required

Response error code.

errorMessage
string

Error description.

data
object