Skip to main content
WEBHOOK

Overview

This page documents webhook 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

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.
Scope: Batch transfer / batch reward orders (bizType is PAY_BATCH).

Message Structure

Example Message

bizStatus Enumeration

data Field Reference

batchItemList Item Fields

Callback Example

Batch transfer completed (bizStatus=PAID)

Body

application/json
bizType
enum<string>
required

Business type; always PAY_BATCH.

Available options:
PAY_BATCH
bizId
string
required

Batch order ID.

bizStatus
enum<string>
required

Batch order status; commonly PAID when transfer/reward completes.

Available options:
PAID
data
string
required

Business data as a JSON string; parsed structure see batchTransferData.

client_id
string

Merchant client_id that created the order.

batchTransferData
object

Parsed batch transfer details from data.

description
any

Response

200 - application/json

HTTP 200 indicates the merchant successfully received the notification.

Response body returned by the merchant after receiving the notification.

returnCode
string
required

Return status code; SUCCESS indicates success.

returnMessage
string | null

Return message; may be empty on success.