WSPN supports callback to customer interfaces in multiple business scenarios. Customers can implement their own business logic in the callback interface.For webhook url configuration, please refer to API key management menu in wallet platform, and update the related API key info. 《API Keys》The callback is based on the HTTP/HTTP protocol with the POST method, and all request bodies are in JSON format with all characters encoded in UTF-8.The callback process is considered Failed if any of the following situations occur: request failed, request timeout, or response status code other than 2XX.The callback is divided into Synchronous and Asynchronous types, Synchronous request must respond in a timely manner and have no try mechanism, while asynchronous requests do not need to respond in a timely manner and have a retry maechanism.Upon receiving the callback, kindly respond with SUCCESS; otherwise, a retry will be triggered.Name | Type | Response Time | Retry Count | Retry Interval |
---|
OPENAPI_WEBHOOK | Asyn | 15s | 6 | 15s, 30s, 60s, 120s, 240s, 480s |
JAVA Verify Signature Example#
Webhook Data Example#
Field | Type | Description |
---|
eventId | String | mint/redeem transaction id |
type | String | / |
clientId | Long | / |
eventStatus | String | / |
requestId | String | customer request api param: requestId |
eventTime | String | / |
data | String | / |
Modified at 2025-06-27 12:01:27