Setup
Add your callback URL
In your dashboard, set your callback URL — a public HTTPS endpoint on your server.
Receive events
mySubwallet sends a
POST request with a JSON body to that URL whenever a transaction’s status changes.Example payload
Best practices
Match on request-id
Match on request-id
Always reconcile events using your unique
request-id, not the message text.Be idempotent
Be idempotent
The same event may be delivered more than once. Make sure processing the same
request-id twice is safe.Respond fast
Respond fast
Return
200 immediately; queue heavier work so the request doesn’t time out.
