Overview
Webhooks let Modulus notify your server the moment a QR Ph transaction reaches a terminal state, so you do not have to poll for status. Each delivery is an encryptedPOST to a callback URL you register.
Quickstart
Register a callback URL and send a test event
Receiving Webhooks
Decrypt, acknowledge, deduplicate, and process
Webhook Payload
Every field in the decrypted payload
API Reference
Manage webhooks (create, list, update, delete, simulate)
API Endpoint
Sandbox base URL:How it works
1
Register a callback URL
Register your HTTPS endpoint and the action you want with the management API. One webhook fires on one action.
2
A customer pays
The customer scans your Dynamic QR Ph and completes payment in their bank app.
3
Modulus delivers the event
Modulus
POSTs an encrypted { "Token": "<JWE>" } to your callback URL, with an Activation-Code header for the sub-merchant.4
You decrypt and process
Decrypt with your Encryption Key, deduplicate on
(transactionId, webhookAction), return 200/201, then process. If you do not acknowledge, Modulus retries up to 3 more times about 15 minutes apart (4 attempts total). See Receiving Webhooks.Events
Register the action you need - one webhook per action, or one each to receive both.