Charge a credit account immediately

Applies an immediate SchoolSet credit-account payment to a contract after checking the family credit-account balance.

Authentication

AuthorizationBearer

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

Request

This endpoint expects a multipart form.
contract_idintegerRequired
payment_amountdoubleRequired
fees_prioritylist of integersOptional
notestring or nullOptional

Response

Credit-account payment accepted

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