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

Create Pay Order

Create a Pay Order when you need to collect an unstructured payment without requiring an existing student record.

POST /api/v1/integrations/pay/orders
Terminal window
curl --location 'https://[base_url]/api/v1/integrations/pay/orders' \
--header 'Authorization: Basic <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Customer Name",
"phone": "9876543210",
"email": "you@example.com",
"details": [
{
"component_type": "Payable Amount",
"amount": 1000
}
],
"callback_url": "https://www.example.com/payment/callback",
"notes": [
{
"key": "erp_reference_id",
"value": "REF123"
}
]
}'
FieldTypeRequiredDescription
namestringYesName of the payer.
phonestringYesPhone number of the payer.
emailstringYesEmail address of the payer.
student_namestringNoStudent name, if relevant for the order. This does not require an existing Jodo student record.
gradestringNoGrade identifier shared between Jodo and the ERP provider.
date_of_birthstringNoDate of birth.
identifierstringNoStudent identifier assigned by the institute, if available.
new_admissionbooleanNoIndicates if the payer is associated with a new admission flow.
custom_identifierstringNoCustom student or payer identifier.
academic_year_startintegerNoAcademic year start.
academic_year_endintegerNoAcademic year end.
detailsarrayYesPayment line items.
details[].component_typestringYesPayment detail type, such as Event Fee or Payable Amount.
details[].amountnumberYesAmount to be collected for the line item.
callback_urlURLNoURL used to redirect the payer after checkout.
notesarrayNoKey-value metadata, for example ERP reference IDs.
{
"status": "success",
"data": {
"order_id": "order_123456789",
"redirect_url": "https://pay.jodo.in/p/xxx/xxx"
}
}
FieldTypeDescription
data.order_idstringUnique Jodo Pay Order identifier.
data.redirect_urlURLHosted Jodo checkout URL for the payer.
CodeHTTP CodeDescription
HUE00000400Bad request error.