OTC
OTC Order Status Update Notification
OTC order result callback sent to the merchant callback URL for both on-ramp and off-ramp flows.
WEBHOOK
Overview
This page documentswebhook otcCallbackWebhook. The full schema, parameters, and examples are rendered from the linked OpenAPI or webhook definition above.
Use this webhook to receive OTC on-ramp and off-ramp order status change notifications.
Notes
- Use
bizIdorclientOrderIdfor idempotency. - For OTC callbacks,
datais a JSON string — callJSON.parsebefore reading fields. See below for the parsed structure. - Signature verification, retries, and the success response are covered in Notifications Overview; see Security and Signature for signing rules.
Trigger scenarios
- GatePay sends notifications when OTC on-ramp or off-ramp order status changes
- If delivery fails, GatePay retries according to the schedule in Notifications overview
Message Structure
On-ramp data fields (type=BUY, bizStatus is RECHARGE_*)
Off-ramp data fields (type=SELL, bizStatus is WITHDRAW_*)
feeDetail[] fields
Callback examples
On-ramp success (bizStatus=RECHARGE_SUCCESS)
Off-ramp dispatched (bizStatus=WITHDRAW_DISPATCHED)
Body
application/json
OTC order status callback notification structure
Response
200 - application/json
Returns HTTP 200 to indicate the notification has been received successfully.

