Fiat Payment Status Notification
When a fiat payment order status changes, GatePay sends a webhook with bizType PAY_FIAT.
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 the order query API for the latest status.
Overview
This page documentswebhook fiatPaymentWebhook. 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 fiat payment order status changes (bizType is PAY_FIAT).
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 a fiat payment order status changes (payment success, timeout, cancellation, or closure), GatePay sends a notification to the callback URL configured at merchant registration
- If delivery fails, see retry rules in Notifications Overview.
bizType is PAY_FIAT). When fiat is selected at checkout, GatePay converts to crypto at the live rate for collection.
Message Structure
Example Message
bizStatus Enumeration
data Field Reference
payAccount Enumeration
Callback Example
Fiat payment succeeded (bizStatus=PAY_SUCCESS)
Order closed (bizStatus=PAY_CLOSE)
Payment error (bizStatus=PAY_ERROR)
Body
Business type; always PAY_FIAT.
PAY_FIAT Prepaid order ID.
Fiat payment order status.
PAY_SUCCESS, PAY_ERROR, PAY_CLOSE Business data as a JSON string; parsed structure see fiatPaymentData.
Merchant client_id that created the order.
Parsed fiat payment order details from data.
Response
HTTP 200 indicates the merchant successfully received the notification.

