201Successful Response
Schema: SuccessEnvelope_BillBatchPaymentResponse_
successbooleanmessagestringcodestringdataBillBatchPaymentResponse
/api/v1/bills/payments/batchApply a single bank transaction to multiple bills in one atomic request. Validates the total allocation against the transaction's remaining unallocated balance before creating any payments.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: BillBatchPaymentRequest
transaction_idstringrequiredUUID of the bank transaction representing the payment.
allocationsarray · BillBatchPaymentAllocationrequiredBillBatchPaymentAllocationOne allocation per bill (1+). Each bill_id must be unique.
bill_idstringrequiredUUID of the bill receiving this slice of the transaction.
amountintegerrequiredAmount in cents to allocate to this bill. Must be > 0.
paid_onstring · date-timeOverride payment date applied to every allocation. Defaults to the transaction datetime if omitted.
Schema: SuccessEnvelope_BillBatchPaymentResponse_
successbooleanmessagestringcodestringdataBillBatchPaymentResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject