201Successful Response
Schema: SuccessEnvelope_CreditDisputeResponse_
successbooleanmessagestringcodestringdataCreditDisputeResponse
/api/v1/credit/disputes/{dispute_id}/resolutionRecords how the dispute ended and lifts the hold. merchant_won reverses the disputed principal off the loan with the fee and the pre-hold interest in proportion; lender_won and released resume accrual from resolved_on; voided reverses the whole loan as if the transaction never cleared. Money already paid towards a reversed amount becomes credit balance. Hold days are never charged.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
dispute_idstringrequiredSchema: CreditDisputeResolutionRequest
outcomestringrequiredmerchant_won: the disputed amount is reversed off the loan. lender_won: the charge stands and accrual resumes. voided: the whole loan is reversed as if the transaction never cleared. released: the hold is lifted without a decision.
One of: merchant_won, lender_won, voided, released
resolved_onstring · daterequiredThe day accrual runs again; the hold covers the days before it. Not before the dispute's opened_on.
notesstringSchema: 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.