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

order.payment.debited

The order.payment.debited webhook event is triggered when a successful payment is made for the order.

AttributeTypeDescription
event_idStringA unique identifier for the webhook event.
eventStringThe event type; in this case, “order.payment.debited”
versionStringThe version of the webhook payload format (here, “1.0”).
timestampIntegerThe Unix timestamp when the event was originated.
payloadObjectDetailed information about the event.
payload.order_idStringThe unique order id in JODO system.
payload.orderObjectThe information about the order.
payload.order.nameStringThe name of the parent.
payload.order.phoneStringThe phone number of the parent.
payload.order.identifierStringThe identifier of the order.
payload.order.emailStringThe email of the parent.
payload.order.paid_atStringThe datetime str indicating at what time the payment was done.
payload.order.statusStringThe current status of the payment order.
payload.order.detailsArrayThe fee component breakdown of the order.
payload.order.details[].component_typeStringThe type of fee component (e.g., TUITION_FEE, TRANSPORT_FEE).
payload.order.details[].amountNumberThe amount corresponding to the fee component.
payload.order.notesArrayList of key value pairs passed during the creation of order.
{
"event_id": "45bb1387-2a83-4fdb-a149-e7dec81043f0",
"event": "order.payment.debited",
"version": "1.0",
"timestamp": 1691143279,
"payload": {
"order_id": "order_12343532424",
"order": {
"name": "Ron Rivest",
"phone": "9876543210",
"identifier": "STUDENT_IDENTIFIER",
"email": "customer@example.com",
"paid_at": "2023-04-05T07:07:20Z",
"status": "paid",
"details": [{ "component_type": "Admission Fee", "amount": 10000.0 }],
"notes": [
{
"key": "erp_reference_id",
"value": "REF123"
}
]
}
}
}

Upon receiving the order.payment.debited event, you can mark the given order as paid.