Batch Transfer Status Notification
When a batch transfer order status changes, GatePay sends a webhook with bizType PAY_BATCH.
Verify the signature and return {"returnCode":"SUCCESS","returnMessage":""} after successful processing. On delivery failure, GatePay retries at the intervals documented in Notifications Overview.
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
This page documentswebhook batchTransferWebhook. The full schema, parameters, and examples are rendered from the linked OpenAPI or webhook definition above.
GatePay sends asynchronous notifications to the merchant callback URL when batch transfer order status changes (bizType is PAY_BATCH).
Notes
- Use
merchant_batch_noorbizIdfor idempotency. - Signature verification, retries, parsing
data, and the success response are covered in Notifications Overview; see Security and Signature for signing rules.
Trigger Scenarios
- When a batch transfer order status changes, GatePay sends a notification to the callback URL configured at merchant registration
- If delivery fails, see retry rules in Notifications Overview.
bizType is PAY_BATCH).
Message Structure
| Field | Type | Description |
|---|---|---|
bizType | string | Always PAY_BATCH |
bizId | string | Batch order ID (may be an empty string; use actual payload) |
bizStatus | string | Batch order status; see table below |
client_id | string | Merchant client_id that created the order |
data | string | Business payload as a JSON string |
Example Message
bizStatus Enumeration
| Value | Description |
|---|---|
PAID | Batch transfer/reward order completed |
data Field Reference
| Field | Type | Description |
|---|---|---|
merchant_batch_no | string | Merchant batch number |
batchItemList | array | Batch transfer line items |
batchItemList Item Fields
| Field | Type | Description |
|---|---|---|
amount | string | Line item amount |
channel_id | string | Customer name / channel identifier |
create_time | int64 | Creation time (milliseconds) |
currency | string | Currency |
receiver_id | int64 | Receiver UID |
status | string | Line item status, for example PAID |
Callback Example
Batch transfer completed (bizStatus=PAID)
Body
Business type; always PAY_BATCH.
PAY_BATCH Batch order ID.
Batch order status; commonly PAID when transfer/reward completes.
PAID Business data as a JSON string; parsed structure see batchTransferData.
Merchant client_id that created the order.
Parsed batch transfer details from data.
Response
HTTP 200 indicates the merchant successfully received the notification.

