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

Add Payment

Record a manual (direct) payment for a student identified by :jodo_student_id.

POST /api/v1/integrations/erp/students/:jodo_student_id/payments
Terminal window
curl -X POST 'https://[base_url]/api/v1/integrations/erp/students/:jodo_student_id/payments' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic <token>' \
-d '{
"amount": 2000,
"paid_at": "2022-01-29T10:05:45Z",
"mode": "cash",
"transaction_id": "tra_1234",
"settlement_utr": "settl_1234",
"notes": "advance payment",
"fee_components": [
{
"component_type": "TUITION_FEE",
"amount": 1000
},
{
"component_type": "TRANSPORT_FEE",
"amount": 1000
}
]
}'
ParameterTypeRequiredDescription
jodo_student_idstringYesJodo student ID against which the payment should be recorded.
AttributeTypeRequiredDescription
amountnumberYesTotal amount paid.
paid_atdatetimeYesPaid date and time in ISO 8601 format.
modestringNoMode of payment. Defaults to others if not provided.
transaction_idstringNoUnique transaction ID from your system.
settlement_utrstringNoSettlement UTR, if already available.
notesstringNoPayment notes.
fee_componentsarrayYesFee component level payment allocation.
fee_components[].component_typestringYesFee component for which payment is made.
fee_components[].amountnumberYesAmount paid for this fee component.

HTTP 201

{
"status": "success"
}
CodeHTTP CodeDescription
MAE00000400Bad request error.
MAE00001404Student not found.