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

Manage Flex Plan

Configure the instalment schedule for a student identified by :jodo_student_id.

Terminal window
POST /api/v1/integrations/flex/students/:jodo_student_id/plans
Terminal window
curl -X POST 'https://[base_url]/api/v1/integrations/flex/students/:jodo_student_id/plans' \
--header 'Authorization: Basic <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"payment_schedule": [
{
"due_date": "2022-09-15",
"details": [
{
"amount": 10500,
"component_type": "TUITION_FEE"
},
{
"amount": 500,
"component_type": "TRANSPORT_FEE"
}
]
},
{
"due_date": "2022-11-15",
"details": [
{
"amount": 20500,
"component_type": "TUITION_FEE"
}
]
}
]
}'
FieldTypeRequiredDescription
payment_schedulearrayYesInstalments to configure for the student.
payment_schedule[].due_datestringYesInstalment due date in YYYY-MM-DD format.
payment_schedule[].detailsarrayYesFee component split for the instalment.
payment_schedule[].details[].component_typestringYesFee component code.
payment_schedule[].details[].amountnumberYesAmount for the fee component.
payment_schedule[].details[].is_downpaymentbooleanNoSet to true when the component is part of a downpayment instalment.
{
"status": "success"
}
  • Fee component is not available.
  • Student was not found.
  • Subscription is already set up.

Call this API before the payer completes Flex setup. Once a subscription is set up, schedule changes should be handled through the supported update flow and webhook lifecycle.