201Successful Response
Schema: SuccessEnvelope_PaymentResponse_
successbooleanmessagestringcodestringdataapp__api__v1__schemas__credit_line__PaymentResponse
/api/v1/credit/paymentsRecords a debit the partner executed and returns corrected balances. Allocation is not selectable: principal before accrued interest, earliest due date first. A payment can clear the full principal while interest remains outstanding — that cycle is not Paid, and the returned status is authoritative.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: PaymentRecordRequest
credit_line_idstringexternal_line_idstringexternal_payment_idstringrequiredPartner payment ID. The idempotency key.
amount_centsintegerrequiredpaid_onstring · daterequiredDate the merchant pressed Pay, not the date funds landed.
methodstringSchema: SuccessEnvelope_PaymentResponse_
successbooleanmessagestringcodestringdataapp__api__v1__schemas__credit_line__PaymentResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject