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

flex.subscription.updated

The flex.subscription.updated webhook event is triggered whenever any Flex subscription is updated within the Jodo system.

AttributeTypeDescription
event_idStringA unique identifier for the webhook event.
eventStringThe event type; in this case, “flex.subscription.updated”
timestampIntegerThe Unix timestamp when the event was originated.
versionStringThe version of the webhook payload format (here, “1.0”).
payloadObjectDetailed information about the event.
payload.jodo_student_idIntegerThe ID of the student in the JODO system.
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.fullnameStringThe full name of the student.
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.subscriptionObjectInformation about the flex subscription.
payload.subscription.idIntegerThe unique identifier of the flex subscription.
payload.subscription.statusStringThe current status of the flex subscription.
payload.payment_scheduleArrayInstalment details.
payload.payment_schedule[].due_dateStringThe due date of an installment in the payment schedule of the student.
payload.payment_schedule[].amountNumberInstalment amount.
payload.payment_schedule[].detailsArrayAn array containing the breakdown of the payment details.
payload.payment_schedule[].details[].fee_componentStringThe type of fee component (e.g., TUITION_FEE, TRANSPORT_FEE).
payload.payment_schedule[].details[].amountNumberThe amount to be paid for the corresponding fee component.
{
"event_id": "5d8bbe69-36f3-4b2b-8ba1-a508db707dba",
"event": "flex.subscription.updated",
"timestamp": 1692010667,
"version": "1.0",
"payload": {
"jodo_student_id": 7950,
"student": {
"identifier": "STUDENT_IDENTIFIER",
"custom_identifier": "CUSTOM_IDENTIFIER",
"collector_code": "81c6b473c138",
"fullname": "Ron Rivest",
"academic_year_start": 2022,
"academic_year_end": 2023,
"primary_contact_number": "9876543210",
"primary_contact_email": "customer@example.com",
"grade": { "name": "Class I", "code": "fdb97be4" }
},
"subscription": { "id": 2303, "status": "active" },
"payment_schedule": [
{
"due_date": "2023-10-18",
"amount": 2000.0,
"details": [
{ "fee_component": "ADMISSION_FEE", "amount": 1000.0 },
{ "fee_component": "BOARD_FEE", "amount": 1000.0 }
]
},
{
"due_date": "2023-09-20",
"amount": 500.0,
"details": [{ "fee_component": "TUITION_FEE", "amount": 500.0 }]
},
{
"due_date": "2023-10-20",
"amount": 500.0,
"details": [{ "fee_component": "TUITION_FEE", "amount": 500.0 }]
}
]
}
}

Upon receiving the flex.subscription.updated event, you can update your systems accordingly to reflect the latest Flex schedule. This event ensures that you stay up-to-date with any changes made to the Flex subscriptions, maintaining accurate records and providing timely support to your customers.