200Successful Response
Schema: SuccessEnvelope_VendorCreditsListResponse_
successbooleanmessagestringcodestringdataVendorCreditsListResponse
/api/v1/vendor-creditsList all vendor credits for the business with optional filtering.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
vendor_idstringFilter by vendor ID
statusVendorCreditStatusEnumFilter by status
has_remaining_balancebooleandefault: FalseOnly show credits with remaining balance
searchstringSearch by vendor credit number (e.g. VC-0001)
cursorstringPagination cursor
limitintegerdefault: 50Page size
Schema: SuccessEnvelope_VendorCreditsListResponse_
successbooleanmessagestringcodestringdataVendorCreditsListResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject