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

direct.payment.cancelled

The direct.payment.cancelled webhook event is triggered when a manual (direct) payment is cancelled in the Jodo system.

AttributeTypeDescription
event_idStringA unique identifier for the webhook event.
eventStringThe event type; in this case, “direct.payment.cancelled”
timestampIntegerThe Unix timestamp when the event was originated.
versionStringThe version of the webhook payload format (here, “1.0”).
payloadObjectDetailed information about the event.
payload.paymentObjectThe payment information.
payload.payment.idStringThe unique payment id in the JODO system.
payload.payment.amountNumberThe payment amount.
payload.payment.modeStringThe mode of payment.
payload.payment.transaction_idStringThe transaction ID for the payment.
payload.payment.settlement_utrStringThe UTR for the disbursement done for the corresponding fee component.
payload.payment.notesStringThe notes containing any additional details for the payment.
payload.payment.paid_atStringThe datetime str indicating at what time the payment was done.
payload.payment.detailsArrayThe fee component level breakdown of the payment.
payload.payment.details[].fee_componentStringThe type of fee component (e.g., TUITION_FEE, TRANSPORT_FEE).
payload.payment.details[].amountStringThe amount corresponding to a fee component in the payment done.
payload.studentObjectInformation about the student.
payload.student.identifierStringThe student’s identifier within your system (if applicable).
payload.student.custom_identifierStringA custom identifier associated with the student.
payload.student.collector_codeStringBranch code (if applicable).
payload.student.academic_year_startIntegerThe start year of the student’s academic year.
payload.student.academic_year_endIntegerThe end year of the student’s academic year.
payload.student.primary_contact_numberStringThe primary contact number of the student’s parent or guardian.
payload.student.primary_contact_emailStringThe primary contact email address of the student’s parent or guardian.
payload.student.gradeObjectInformation about the student’s grade.
payload.student.grade.nameStringThe name of the grade (e.g., “Montessori 1”).
payload.student.grade.codeStringThe code representing the grade (e.g., “M1BLUE”).
payload.jodo_student_idIntegerThe ID of the student in the JODO system.
{
"event_id": "9c7ae52e-dad6-4dff-948e-cdfc2926cf7b",
"event": "direct.payment.cancelled",
"timestamp": 1692012157,
"version": "1.0",
"payload": {
"payment": {
"id": "direct_3257",
"amount": 5000.0,
"mode": "cash",
"transaction_id": "tra_1234_Rarome1",
"settlement_utr": "settl_1234_Rarome1",
"notes": "advance payment",
"paid_at": "2022-01-29T10:05:45Z",
"details": [
{ "fee_component": "ADMISSION_FEE", "amount": "3000.00" },
{ "fee_component": "TUITION_FEE", "amount": "2000.00" }
]
},
"student": {
"identifier": "JODO/TEST/005",
"custom_identifier": null,
"collector_code": "81c6b473c138",
"academic_year_start": 2022,
"academic_year_end": 2023,
"primary_contact_number": "9876543210",
"primary_contact_email": "customer@example.com",
"grade": { "name": "Class I", "code": "fdb97be4" }
},
"jodo_student_id": 7268
}
}

Upon receiving the direct.payment.cancelled event, you can update your ERP system to reverse the payment record.