Payment
Gate Payment Status Notification
Applies to orders placed through hosted checkout, client launch, and similar flows where the user pays with a Gate payment account. bizType is always PAY.
Verify the signature and return {"returnCode":"SUCCESS","returnMessage":""} after successful processing. On delivery failure, GatePay retries at the intervals documented in Notifications Overview. You may also call /v1/pay/order/query to reconcile order status.
WEBHOOK
Overview
This page documentswebhook gatePaymentWebhook. 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 Gate payment order status changes (bizType is PAY).
Notes
- Use
merchantTradeNoorbizIdfor 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 the order status changes (payment success, payment timeout, cancellation, closure, and similar events), GatePay sends a notification to the callback URL configured at merchant registration
- If delivery fails, see retry rules in Notifications Overview.
bizType is PAY). See Payments for integration guidance.
Message Structure
Example Message
bizStatus Enumeration
data Field Reference
Callback Example
Payment success (bizStatus=PAY_SUCCESS)
Order closed (bizStatus=PAY_CLOSE)
Payment error (bizStatus=PAY_ERROR)
Body
application/json
Response
200 - application/json
HTTP 200 indicates the merchant successfully received the notification.

