How It Works
Configure Webhook
1
Prepare an endpoint URL
Deploy an HTTP endpoint on your server to receive Webhook events.
2
Provide the URL to us
Send the endpoint URL to technical support to be configured.
3
Implement the handling logic
In your endpoint, implement: parse the request → verify the signature → process the business logic → respond with 200/201.
Verify the Signature
To prevent unauthorized access, you must verify the signature when you receive a Webhook event.Steps
- Read the timestamp and signature from the request headers:
-
Concatenate the message:
raw request body + "|" + timestamp - Apply a double SHA256 hash to the message
- Verify the signature using the Ed25519 public key
Full Verification Code
Please contact technical support to obtain the PUB_KEY.
Webhook Events
Event Types
Retry Mechanism
- Timeout (no response within 2 seconds) or non-200/201 response: the system retries automatically
- Up to 10 retries
- After exceeding the retry limit, the event status becomes “delivery failed”
Complete Implementation Examples
Go implementation
Go implementation
Node.js implementation
Node.js implementation
Next Steps
Deposit Callback
View the payload field reference for deposit events.
Withdrawal Callback
View the payload field reference for withdrawal events.