200Successful Response
Schema: SuccessEnvelope_InvoicePaymentResponse_
successbooleanmessagestringcodestringdataapp__api__v1__schemas__invoices__invoice__InvoicePaymentResponse
/api/v1/invoices/{invoice_id}/payments/{payment_id}Edit the amount or date of an existing payment record.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
invoice_idstring · uuidrequiredpayment_idstring · uuidrequiredSchema: InvoicePaymentUpdateRequest
amountintegerNew payment amount in cents. Must be > 0 and <= the remaining unallocated amount on the transaction (excluding the current payment's allocation).
paid_onstring · date-timeOverride payment date (ISO 8601).
Schema: SuccessEnvelope_InvoicePaymentResponse_
successbooleanmessagestringcodestringdataapp__api__v1__schemas__invoices__invoice__InvoicePaymentResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject