/

to search

Introducing Setu Changelog Check it out ↗

#Notifications and alerts for creation of mandate

The first step to start utilising mandates is to create a mandate. Here is a quick view of how the status moves from mandate.initiated to mandate.live or mandate.failed

Bridge

This indicates that a mandate creation request has been initiated by a customer or the merchant. The following param values indicate this state—

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

{
// -----------------
// MERCHANT DETAILS
// -----------------
"merchantId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantReferenceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
// -----------------
// EVENT ATTRIBUTES
// -----------------
"eventId": "01ARZ3NDEKTSV4RRFFQ69G5FAV", // Unique ID for the event
"eventTs": "2023-09-04T12:08:20+0530", // Timestamp associated with the event
"eventType": "mandate_operation.create.initiated",
"resource": "mandate_operation",
"operation": "create", // Can be create | update | revoke | notify | execute
"status": "initiated", // Can be initiated | success | failed
// -----------------
// MANDATE CONTEXT
// -----------------
"mandateType": "<type>",
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV", // Unique ID for mandate operation
"umn": "c27f5fc30d344e9594fce0afa34f8859@mypsp",
"txnId": "SETmBZkQOV0M7wyyP1V4PIFhRSzW5eSjmYI",
"reason": {} // sample mentioned above
}