/

to search

Introducing Setu Changelog Check it out ↗

#Notifications and alerts for revoking mandate

PREREQUISITES 

🌟 UPI mandate revoke ↗

These are the available webhooks for merchants, when revoking of mandate is done by either the customer or in rarer cases, the merchant. Here is a quick view of how the status moves from mandate.live to mandate.revoked

Bridge

This notification will be sent only in case the revoke is initiated by the end user. The following param values indicate this state—

  • operation will be revoke
  • eventType will be mandate_operation.revoke.initiated
  • status will be initiated

{
// Event attributes
"eventId": "01ARZ3NDEKTSV4RRFFQ69G5FAV", // Id of an event (unique for each event)
"eventTs": "2023-09-04T12:08:20+0530", // Timestamp associated with the event
"eventType": "mandate_operation.revoke.initiated",
"resource": "mandate_operation",
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV", // mandate operation id
"operation": "revoke", // create | update | revoke | notify | execute
"status": "initiated", // initiated | success | failed
"merchantId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantReferenceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
// Mandate context
// "mandateType": "<type>",
// Mandate reference
"umn": "c27f5fc30d344e9594fce0afa34f8859@mypsp",
"txnId": "SETmBZkQOV0M7wyyP1V4PIFhRSzW5eSjmYI",
// Reason
"reason": {}
}