Create a recurring payment plan

Creates a SchoolSet recurring payment plan from aligned payment dates, amounts, grace periods, and the selected contract payment method.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects a multipart form.
contract_idintegerRequired
payment_type_idintegerRequired
payment_recurring_period_idintegerRequired
payment_total_amountdoubleRequired
payment_amountslist of doublesRequired
payment_dateslist of datetimesRequired
grace_periodlist of integersRequired
payment_datamap from strings to any or nullOptional
wallet_idinteger or nullOptional
secondary_wallet_idinteger or nullOptional
merchant_account_idinteger or nullOptional
fees_prioritylist of integersOptional
notestring or nullOptional

Response

Recurring plan created
statusstringOptional
messagestringOptional
datamap from strings to anyOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error