Technical specifications for merchants to handle WaaS callback requests
X-API-KEY
401 Unauthorized
if validation failsHttpServletRequest
raw input stream for readingrequest.getParameter(“data”)
will return nullThe WaaS system sends event notifications to the callback URL configured by the merchant. Merchants need to correctly handle these callback requests. The encryption/decryption process is the same as when merchants call WaaS APIs, the main difference is in the way callback data is read.
Callback Type | Idempotency Key Composition | Explanation |
---|---|---|
Deposit Callback | (txid, chain, symbol, toAddress) combined hash | Resolves wrapped contract duplicate deposit issues |
Withdrawal Callback | txid | Globally unique transaction ID controlled by WaaS |
Other Callbacks | (type, trackingId, callBackId…) | All callback types must implement idempotency |