Skip to content
NEWCollect for MSMEs: UPI Autopay, eNACH & remindersExplore app ↗

flex.mandate.cancelled

The flex.mandate.cancelled event is triggered when the student’s Flex auto-debit mandate is revoked or cancelled.

AttributeTypeDescription
event_idStringUnique identifier for the webhook event.
eventStringEvent name: flex.mandate.cancelled.
timestampIntegerUnix timestamp when the event was originated.
versionStringWebhook payload version.
payload.jodo_student_idStringJodo student identifier.
payload.studentObjectStudent profile details.
payload.subscriptionObjectFlex subscription details.
payload.subscription.idStringFlex subscription ID.
payload.subscription.statusStringCurrent subscription status.
payload.mandateObjectMandate details.
payload.mandate.idStringMandate ID.
payload.mandate.statusStringMandate status, usually cancelled.
payload.mandate.npci_category_codeStringMandate cancellation or failure category from NPCI.
{
"event": "flex.mandate.cancelled",
"event_id": "f8093bb5-29c7-4b3a-a99b-298520233820",
"timestamp": 1655448963,
"version": "1.0",
"payload": {
"jodo_student_id": "student_1234",
"student": {
"identifier": "1234",
"custom_identifier": "cust_1234",
"collector_code": "Branch1",
"fullname": "Jodo Test Student",
"academic_year_start": 2022,
"academic_year_end": 2023,
"primary_contact_number": "9876543210",
"primary_contact_email": "parent@example.com",
"grade": {
"name": "M1BLUE",
"code": "Montessori 1"
},
"notes": [
{
"key": "registration_number",
"value": "REG12345"
}
]
},
"subscription": {
"id": "sub_88001",
"status": "active"
},
"mandate": {
"id": "mandate_1921",
"status": "cancelled",
"npci_category_code": "customer_revoked"
}
}
}
  • account_not_active
  • bank_kyc_pending
  • customer_revoked
  • mandate_error
  • Mark the mandate as cancelled in your ERP.
  • Use npci_category_code to show the right support or recovery message.
  • Do not mark the subscription closed only from this event; use subscription lifecycle events for subscription state.
  • Use event_id for idempotency.