Smart Collect - Sample Payload

Sample payload for Smart Collect

Following is the list of currently available webhook events for Smart Collect.

The table below lists the Webhook events available for Smart Collect (Virtual Account).

Webhook EventDescription
virtual_account.createdTriggered when a virtual account is created.
virtual_account.creditedTriggered when a payment is made to a virtual account.
virtual_account.closedTriggered 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.

Was this page helpful?