201Successful Response
Schema: SuccessEnvelope_CreditDisputeResponse_
successbooleanmessagestringcodestringdataCreditDisputeResponse
/api/v1/credit/loans/{loan_id}/disputePuts the loan on hold while the merchant's dispute of the card transaction runs: no interest accrues for hold days, the loan is out of days past due, AutoPay and the amount due, and its balance is shown flagged. Omit amount_cents to dispute the whole transaction. Idempotent on provider_dispute_id, otherwise on the loan's open dispute.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
loan_idstringrequiredSchema: CreditDisputeOpenRequest
amount_centsintegerPrincipal in dispute. Omit to dispute the whole transaction (its principal less anything an earlier dispute already reversed).
reasonstringrequiredWhy the merchant disputes the charge, in words.
provider_dispute_idstringThe issuer's id for the dispute. When sent it is the idempotency key: opening it again returns the dispute already recorded.
opened_onstring · dateFirst day of the hold. Defaults to today (UTC). It may be earlier than today, but not before the loan's transaction date or on or before the date of a payment already applied to the loan.
Schema: SuccessEnvelope_CreditDisputeResponse_
successbooleanmessagestringcodestringdataCreditDisputeResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.