201Successful Response
Schema: SuccessEnvelope_ContractInvoicePaymentResponse_
successbooleanmessagestringcodestringdataContractInvoicePaymentResponse
/api/v1/contracts/invoices/{invoice_id}/paymentsRecord a payment (amount, method, received date) against a contract invoice, transitioning it to partially/fully paid.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
invoice_idstringrequiredSchema: ContractInvoicePaymentRequest
amount_centsintegerrequiredPayment amount in cents.
methodstringPayment method: ach, stripe, or manual.
received_datestringDate the payment was received (YYYY-MM-DD).
Schema: SuccessEnvelope_ContractInvoicePaymentResponse_
successbooleanmessagestringcodestringdataContractInvoicePaymentResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject