Documentation Index
Fetch the complete documentation index at: https://docs.gate.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The institution documentation includes two capability layers:- Dedicated institution APIs: accounts, fee settings, charge, transfer, and the account-creation callback
- Institution Merchant APIs: the full merchant API surface exposed under institution-prefixed paths
Dedicated Institution APIs
Accounts
POST /merchant/open/institution/v1/accounts/createPOST /merchant/open/institution/v1/accounts/updateGET /merchant/open/institution/v1/accounts/queryGET /merchant/open/institution/v1/accounts/list
Fee Settings
POST /rate/commission_rulePOST /rate/commission_rule/upgradeGET /rate/commission_rulePOST /rate/commission_rule/list
Transfer and Charge
POST /transfer/open/institution/v1/pay/transferGET /transfer/open/institution/v1/pay/transfer/detailPOST /transfer/open/institution/v1/pay/chargeGET /transfer/open/institution/v1/pay/charges/detail
transfer and charge are synchronous APIs:
- Each submit request returns the final execution result directly
- Merchants do not need to rely on a submit-then-poll pattern to wait for asynchronous completion
- The
detailendpoints are retained for historical lookup, result backfill, and reconciliation checks bymerchantBatchNo
Callback
POST /webhook/institution/v1/accounts/callback
Institution Merchant APIs
The institution merchant API set covers:- Payment
- Balance
- OTC
- Convert
- Payout
- Gift Card
- Subscription
Header Rules
Endpoints that do not use X-GatePay-On-Behalf-Of
POST /merchant/open/institution/v1/accounts/createGET /merchant/open/institution/v1/accounts/queryGET /merchant/open/institution/v1/accounts/listGET /rate/commission_rulePOST /rate/commission_rulePOST /rate/commission_rule/upgradePOST /rate/commission_rule/list
Endpoints that require X-GatePay-On-Behalf-Of
- Charge and transfer APIs
- All institution merchant APIs
| Header | Required | Description |
|---|---|---|
X-GatePay-Certificate-ClientId | Yes | Application ClientId |
X-GatePay-Timestamp | Yes | UTC millisecond timestamp |
X-GatePay-Nonce | Yes | Random string |
X-GatePay-Signature | Yes | Request signature |
X-GatePay-On-Behalf-Of | Conditional | Required for institution fund-movement APIs and institution merchant APIs. Institution merchant APIs typically use the target sub-account ID; charge and transfer APIs can use the initiating account ID for the current request (either an institution account ID or a sub-account ID). It is not used by the account APIs or the fee-setting APIs. |
X-GatePay-MerchantId | Conditional | Required by the fee-setting APIs to identify the current main-merchant context. |
Recommended Reading Order
- Start with Institution Headers
- Validate account creation and query first
- Validate fee settings in the order of create > update > detail query > list query
- Validate
transferandcharge - Extend to institution merchant APIs

