The table below lists the Webhook events available for Smart Collect (Virtual Account).
Webhook Event | Description |
---|---|
virtual_account.created | Triggered when a virtual account is created. |
virtual_account.credited | Triggered when a payment is made to a virtual account. |
virtual_account.closed | Triggered when a virtual account expires on a date set by you or is manually closed by you. |
Smart Collect with TPV
If the TPV feature is enabled for Smart Collect, the webhook payloads described above contain the allowed_payers object parameter.
Watch Out!
If you have changed your webhook secret, remember to use the old secret for webhook signature validation while retrying older requests. Using the new secret will lead to signature mismatch.
Do Not Parse or Cast the Webhook Request Body
While generating a signature at your end, ensure that the webhook body is passed as an argument in the raw webhook request body. Do not parse or cast the webhook request body.