Sub-account Creation Result Notification
When sub-account creation succeeds or fails, GatePay sends an asynchronous POST notification to the callback URL configured by the merchant.
The callback payload includes bizType, bizId, bizStatus, clientId, and data, where data is a JSON string of the sub-account creation result object. The merchant must accept and parse the notification at that URL and return HTTP 200 to acknowledge receipt.
Overview
This page documentswebhook institutionAccountWebhook. Parameters, response schema, and examples are rendered from the linked OpenAPI definition above.
When sub-account creation succeeds or fails, GatePay sends a POST request to the callback URL configured by the merchant. The merchant should receive and parse the notification at that URL and return HTTP 200 to acknowledge receipt.
Notes
- Use
bizIdordata.request_idfor idempotency after parsingdata. - Signature verification, retries, parsing
data, and the success response are covered in Notifications Overview; see Security and Signature for signing rules.
Trigger scenarios
- When sub-account creation completes (success or failure), GatePay sends a notification to your callback URL
- If delivery fails, see retry rules in Notifications Overview
Message Structure
| Field | Type | Description |
|---|---|---|
bizType | string | Notification type; INSTITUTION = sub-account creation |
bizId | string | Creation request ID |
bizStatus | string | Business status: INSTITUTION_ACCOUNT_SUCCESS = created, INSTITUTION_ACCOUNT_FAIL = creation failed |
client_id | string | Merchant client_id that created the sub-account |
data | string | Message content, JSON string; parsed structure is described in the table below |
Parsed data Content
| Field | Type | Description |
|---|---|---|
request_id | string | Creation request ID |
account_id | string | Sub-account ID |
customer_id | string | Customer ID on the platform side |
display_name | string | Display name |
status | string | Account status: ACTIVE = created, FAIL = creation failed |
created | int64 | Creation time (milliseconds) |
Callback examples
Full payload sent by GatePay:Sub-account creation failed
Body
Callback notification body for sub-account creation result
Notification type; INSTITUTION = sub-account creation
Creation request ID
Business status: INSTITUTION_ACCOUNT_SUCCESS = created, INSTITUTION_ACCOUNT_FAIL = creation failed
Merchant client_id that created the sub-account
Message body as a JSON string; parsed structure see CreateSubAccountCallbackData.

