Create a new installment request

POST {{baseUrl}}/v1/installment-requests

This endpoint creates a new installment request. New installment requests have the status of SUBMITTED.

Request Body

{"customer"=>{"email"=>"<string>", "first_name"=>"<string>", "last_name"=>"<string>", "national_id"=>"1365868922", "phone_number"=>"593338428"}, "school_name"=>"<string>", "students"=>[{"cost"=>"<double>", "grade"=>"<string>", "name"=>"<string>", "national_id"=>"2815592881"}, {"cost"=>"<double>", "grade"=>"<string>", "name"=>"<string>", "national_id"=>"|249313853"}], "urls"=>{"notification_url"=>"<string>", "redirect_url"=>"<string>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;redirect_url&quot;:&quot;\u003curi\u003e&quot;,&quot;creation_date&quot;:&quot;\u003cdateTime\u003e&quot;}