WSPN
Language
  • English
Version
  • V1.0
HomeWallet
Language
  • English
Version
  • V1.0
HomeWallet
Twitter
Telegram
Linkedin
  1. English
  • Introduction
  • Get Started
  • Signature
  • What is WUSD
  • Webhook Service
  • Sandbox Environment
  • Blockchain Confirmations
  • Appendix
  • API Keys
  • Core Functionality
    • Core Functionality
    • Quickstart: Deposit via Blockchain Wallet
    • Quickstart: Withdraw via Blockchain Wallet
    • Quickstart: Deposit via Funds Transfer
    • Quickstart: Withdraw to Bank
  • Api Reference
    • Authentication
      • Get Access Token
      • Refresh Access Token
    • Wallet
      • Address
        • Get Deposit Address
        • Add Whitelist Address
        • Get Whitelist Address
        • Delete Whitelist Address
      • Remit Info
        • Get Deposit Remit Info
        • Add Remit Info
        • Edit Remit Info
        • Get Remit Info
        • Delete Remit Info
      • Transaction
        • Get Balance
        • Create Fiat Deposit
        • Create Fiat Withdraw
        • Create Crypto Withdraw
        • Get Fiat Transaction
        • Get Exchange Rate
        • Create Mint/Redeem
        • Mint/Redeem History
        • Get Mint Redeem Receipt
        • Get Fiat Transaction Receipt
        • Get Crypto Transaction Receipt
  1. English

Webhook Service

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.
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.
NameTypeResponse TimeRetry CountRetry Interval
OPENAPI_WEBHOOKAsyn15s615s, 30s, 60s, 120s, 240s, 480s

JAVA Verify Signature Example#

Webhook Data Example#

FieldTypeDescription
eventIdStringmint/redeem transaction id
typeString/
eventStatusString/
requestIdStringcustomer request api param: requestId
eventTimeString/
dataString/
Previous
What is WUSD
Next
Sandbox Environment
Built with