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

Get Pay Order

Use this API to retrieve the current state of a Pay Order after checkout, callback, or webhook processing.

GET /api/v1/integrations/pay/orders/:order_id
Terminal window
curl -X GET 'https://[base_url]/api/v1/integrations/pay/orders/:order_id' \
--header 'Authorization: Basic <token>' \
--header 'Content-Type: application/json'
ParameterDescription
order_idJodo Pay Order identifier returned by the Create Pay Order API.
{
"status": "success",
"data": {
"id": "order_12345",
"name": "Customer Name",
"phone": "9876543210",
"email": "you@example.com",
"transaction_id": "trans_568aaf1f9a65",
"paid_at": "2022-03-01T10:05:45Z",
"status": "paid",
"details": [
{
"component_type": "Payable Amount",
"amount": 1000,
"settlement_utr": "settl_1234",
"settled_at": "2022-03-02T10:05:45Z"
}
],
"notes": [
{
"key": "erp_reference_id",
"value": "REF123"
}
]
}
}
FieldTypeDescription
data.idstringPay Order ID.
data.namestringPayer name.
data.phonestringPayer phone number.
data.emailstringPayer email address.
data.identifierstringStudent or payer identifier assigned by the institute, if provided.
data.student_namestringStudent name, if provided.
data.gradestringGrade identifier, if provided.
data.streamstringStream name, if provided.
data.academic_year_startintegerAcademic year start, if provided.
data.academic_year_endintegerAcademic year end, if provided.
data.new_admissionbooleanWhether the order was associated with a new admission flow.
data.date_of_birthstringDate of birth, if provided.
data.custom_identifierstringCustom identifier, if provided.
data.transaction_idstringTransaction ID for the payment.
data.paid_atdatetimeTime when payment was completed.
data.statusstringCurrent order status. Possible values: paid, unpaid.
data.detailsarrayPayment line items.
data.details[].component_typestringPayment detail type.
data.details[].amountnumberAmount for the line item.
data.details[].settlement_utrstringSettlement UTR, if settled.
data.details[].settled_atdatetimeSettlement time, if settled.
data.notesarrayKey-value metadata sent while creating the order.
CodeHTTP CodeDescription
HUE00000400Bad request error.
HUE00001404Resource not found.