200Successful Response
Schema: SuccessEnvelope_CreditLineResponse_
successbooleanmessagestringcodestringdataCreditLineResponse
/api/v1/credit/lines/{credit_line_id}Change the repayment account, AutoPay, the credit limit, or the status.
Supplying credit_limit_cents re-approves the line: it emits
credit.line.limit_changed and pushes the new available credit to
the issuer. This is the write behind Request More Funding.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
credit_line_idstringrequiredSchema: CreditLineUpdateRequest
linked_account_namestringlinked_account_maskstringplaid_account_idstringautopay_enabledbooleanmerchant_emailstringstatusCreditLineStatusEnumcredit_limit_centsintegerRe-approved limit, in cents. This is the write behind Request More Funding (§6.1) and behind a risk-led reduction. Changing it emits credit.line.limit_changed and pushes the new available credit to the issuer, so the card starts declining at the new limit. A reduction below the current balance is allowed — available credit floors at zero and existing loans keep their own terms.
limit_change_reasonstringWhy the limit moved. Carried on the event and the ledger so an increase can be traced to the decision behind it.
Schema: SuccessEnvelope_CreditLineResponse_
successbooleanmessagestringcodestringdataCreditLineResponseSchema: 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.