PayInvoice

View as Markdown
Used to issue a payment against an invoice. Input variables - invoiceId: number of the invoice (path variable) - json representation of a payment object - amount (decimal) - privateNotes (if any) - publicNotes (if any) - paymentmethod (1 Cash, 2 Bank Transfer, 3 Online, 4 Check,...) - createdAt (optional)

Headers

tenantstringOptional
schoolCodestringOptional

Request

This endpoint expects an object.
amountstringRequired
createdAtdatetimeRequired
publicNotesstringRequired
paymentmethodobjectRequired
privateNotesanyOptional

Response

OK
idinteger
feeslist of objects
amountinteger
statusinteger
addressstring
dueDatedate
fullnamestring
paymentslist of objects
createdAtdatetime
issueDatedate
paidAmountinteger
emailany
telephoneany
publicNotesany
invoiceRefIdany
privateNotesany