Create a split manual payment

Creates one manual payment split across multiple family contracts using fee allocations and the supplied payment details.

Authentication

AuthorizationBearer

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

Request

This endpoint expects a multipart form.
contracts_idlist of integersRequired
payment_type_idintegerRequired
payment_amountslist of doublesRequired
payment_total_amountdoubleRequired>=0.01
payment_datedatetimeRequired
payment_datamap from strings to any or nullOptional
contract_fees_types_idlist of integers or nullOptional
notestring or nullOptional<=255 characters

Response

Accepted split payments are returned as PaymentResource items in the success envelope.
statusstringOptional
messagestringOptional
datalist of objectsOptional

Errors

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