201Successful Response
Schema: SuccessEnvelope_OrderPaymentResponse_
successbooleanmessagestringcodestringdataOrderPaymentResponse
/api/v1/purchase-orders/{id}/paymentsLink a bank transaction to a purchase order as a payment.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
idstring · uuidrequiredSchema: OrderPaymentRequest
transaction_idstringrequiredUUID of the bank transaction representing the payment.
amountintegerrequiredPayment amount in cents. Must be > 0.
paid_onstring · date-timeOverride payment date (ISO 8601). Defaults to the transaction datetime if omitted.
Schema: SuccessEnvelope_OrderPaymentResponse_
successbooleanmessagestringcodestringdataOrderPaymentResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject