201Successful Response
Schema: SuccessEnvelope_InvoicePaymentResponse_
successbooleanmessagestringcodestringdataapp__api__v1__schemas__invoices__invoice__InvoicePaymentResponse
/api/v1/invoices/suggestions/{suggestion_id}/acceptAccept an auto-detected payment suggestion. Creates an InvoicePayment record and updates the invoice status.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
suggestion_idstring · uuidrequiredSchema: SuccessEnvelope_InvoicePaymentResponse_
successbooleanmessagestringcodestringdataapp__api__v1__schemas__invoices__invoice__InvoicePaymentResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject