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

Create Payment Link

Create a payment link when the payer should complete payment from a shareable hosted URL instead of an immediate checkout redirect.

POST /api/v1/integrations/pay/payment_links
Terminal window
curl --location 'https://[base_url]/api/v1/integrations/pay/payment_links' \
--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": 1.0
}
]
}'
AttributeTypeDescription
nameStringCustomer name. Required.
phoneStringCustomer phone number. Required.
emailStringCustomer email address. Required.
student_nameStringOptional student name for display and reconciliation.
gradeStringOptional grade identifier shared between Jodo and the ERP provider.
date_of_birthStringOptional student date of birth.
identifierStringOptional student identifier assigned by the institute.
new_admissionBooleanIndicates whether the student is a new admission.
custom_identifierStringOptional student custom identifier.
academic_year_startIntegerAcademic year start.
academic_year_endIntegerAcademic year end.
expires_atDatetimeOptional expiry date and time in ISO 8601 format.
detailsArrayPayment detail rows. Required.
details[].component_typeStringPayment detail type. Required.
details[].amountNumberAmount to be collected. Required.
notesArrayOptional key-value metadata, for example [{"key": "erp_reference_id", "value": "REF123"}].

HTTP 201

{
"status": "success",
"data": {
"order_id": "order_123456789",
"redirect_url": "https://pay.jodo.in/p/xxx/xxx"
}
}
CodeHTTP CodeDescription
HUE00000400Bad request error.
  • Store data.order_id; it is used for status checks, cancellation, and webhook reconciliation.
  • Share data.redirect_url with the payer through your own communication channel.
  • Use notes for ERP references, event IDs, campaign IDs, or admission workflow IDs.