flex.downpayment.debited
flex.downpayment.debited
Section titled “flex.downpayment.debited”Overview
Section titled “Overview”The flex.downpayment.debited webhook event is triggered immediately upon successful downpayment, i.e. when the customer’s account is debited.
Payload
Section titled “Payload”| Attribute | Type | Description |
|---|---|---|
event_id | String | A unique identifier for the webhook event. |
event | String | The event type; in this case, “flex.downpayment.debited” |
timestamp | Integer | The Unix timestamp when the event was originated. |
version | String | The version of the webhook payload format (here, “1.0”). |
payload | Object | Detailed information about the event. |
payload.payment | Object | The payment information. |
payload.payment.id | String | The unique payment id in the JODO system. |
payload.payment.amount | Number | The payment amount. |
payload.payment.product | String | The payment product as per the JODO system. |
payload.payment.mode | String | The mode of payment. |
payload.payment.paid_at | String | The datetime str indicating at what time the payment was done. |
payload.payment.details | Array | The fee component level breakdown of the payment. |
payload.payment.details[].fee_component | String | The type of fee component (e.g., TUITION_FEE, TRANSPORT_FEE). |
payload.payment.details[].amount | Number | The amount corresponding to a fee component in the payment done. |
payload.student | Object | Information about the student. |
payload.student.identifier | String | The student’s identifier within your system (if applicable). |
payload.student.custom_identifier | String | A custom identifier associated with the student. |
payload.student.collector_code | String | Branch code (if applicable). |
payload.student.academic_year_start | Integer | The start year of the student’s academic year. |
payload.student.academic_year_end | Integer | The end year of the student’s academic year. |
payload.student.primary_contact_number | String | The primary contact number of the student’s parent or guardian. |
payload.student.primary_contact_email | String | The primary contact email address of the student’s parent or guardian. |
payload.student.grade | Object | Information about the student’s grade. |
payload.student.grade.name | String | The name of the grade (e.g., “Montessori 1”). |
payload.student.grade.code | String | The code representing the grade (e.g., “M1BLUE”). |
payload.jodo_student_id | Integer | The ID of the student in the JODO system. |
Example
Section titled “Example”{ "event": "flex.downpayment.debited", "event_id": "f8093bb5-29c7-4b3a-a99b-298520233820", "version": "1.0", "timestamp": 1655448963, "payload": { "jodo_student_id": "student_1234", "student": { "identifier": "1234", "custom_identifier": "cust_1234", "collector_code": null, "grade": { "code": "M1BLUE", "name": "Montessori 1" }, "academic_year_start": 2022, "academic_year_end": 2023, "primary_contact_number": "9876543210", "primary_contact_email": "parent@example.com" }, "payment": { "id": "flex_1234", "amount": 5000, "product": "flex", "mode": "PG", "paid_at": "2022-01-29T10:05:45Z", "details": [ { "fee_component": "TUITION_FEE", "amount": 2500 }, { "fee_component": "TRANSPORT_FEE", "amount": 2500 } ] } }}