Charge a split payment from a wallet

Charges one immediate wallet payment and distributes its amount across the selected family contracts and fees.

Authentication

AuthorizationBearer

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

Request

This endpoint expects a multipart form.
wallet_idintegerRequired
contracts_idlist of integersRequired
payment_amountslist of doublesRequired
payment_total_amountdoubleRequired>=0.01
contract_fees_types_idlist of integers or nullOptional
notestring or nullOptional<=255 characters

Response

The wallet split result is returned with payment status and PaymentResource items
statusstringOptional
messagestringOptional
datalist of objectsOptional

Errors

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