200Successful Response
Schema: SuccessEnvelope_CreditProgramResponse_
successbooleanmessagestringcodestringdataCreditProgramResponse
/api/v1/credit/programs/{program_id}Supplying late_terms, early_payoff_terms, or underwriting_criteria is what settles the corresponding open decision: the guarded code paths stop raising once a rule body exists. Moving a live program to active from another status is refused (CREDIT_660) while a blocking launch check fails, unless the patch carries force_activate with a reason. Operator action: an API token receives 403.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
program_idstringrequiredSchema: CreditProgramUpdateRequest
display_namestringstatusProgramStatusEnumlending_modelLendingModellimit_min_centsintegerlimit_max_centsintegerallowed_term_daysarray · integerdefault_rate_bpsintegerdefault_disbursement_fee_bpsintegerallocation_orderAllocationOrderloan_orderingLoanOrderinginterest_accrual_startInterestAccrualStartminimum_payment_centsintegerdue_soon_daysintegerunderwriting_wait_daysintegerDays the nightly sweep leaves a new underwriting assessment pending while the merchant's data lands.
auto_approve_defaultbooleanWhat an assessment request that omits auto_approve asks for: true opens the line automatically when the gate passes.
gl_posting_enabledbooleangl_posting_reviewbooleanHold each journal entry as a draft an operator posts.
gl_funding_ledger_idstringLedger credited at origination: an active asset or liability ledger of this business (CREDIT_910 otherwise). Point it at the Brex feed ledger so a card charge is booked once. Null is the default (Card Issuer Payable).
gl_cash_ledger_idstringLedger debited on repayment: an active asset ledger of this business (CREDIT_910 otherwise). Point it at the Payliance feed ledger so a collected debit is booked once. Null is the default (Cash).
interest_cap_pct_of_principal_bpsintegerCeiling on total interest per loan as a share of principal (2000 = 20%); null is uncapped. At the ceiling the loan's interest stops growing, statements bill no further interest, and the loan stays past_due. Reaches loans originated after the change only.
card_managementstringdeferred_fee_recognitionbooleanemail_statementsbooleanmarketplace_listedbooleanOffer the program on the capital marketplace. Only an active program may be listed (CREDIT_840 otherwise).
marketplace_blurbstringWhat the marketplace card says about the offer; null clears it.
noticesCreditNoticeSettingscomplianceCompliancePolicyCompliance policy. Replaces the stored one whole; null clears it.
bank_settlement_matchingbooleanalert_slack_channelstringalert_emailsarray · stringallowance_policyobjectborrowing_base_policyBorrowingBasePolicyReplaces the whole policy; fields left out take their defaults.
interchange_sourcestringinterchange_bpsintegerissuing_providerstringCard issuer adapter: ramp, brex, stripe_issuing, lithic, external or mock.
custom_terms_enabledbooleanAllow custom payback terms (1-365 days) and limit envelopes ($100-$50,000,000) outside the default FRD range.
issuer_configobjectProvider-agnostic card issuer configuration. Replaces the stored object; null clears it.
bank_feed_configobjectPer-program bank feed configuration (provider, data_project, dataset_template). Replaces the stored object; null clears it.
portal_frame_ancestorsarray · stringHTTPS origins permitted to embed the hosted borrower portal (/p/credit/{token}?embed=1). Replaces the stored list; null clears it.
payment_collection_configPaymentCollectionConfigInputEmbeddable borrower payment iframe settings. Replaces stored settings (preserving an existing Payliance Card access key when omitted); null clears it.
statement_balance_modestringallocation_scopestringcycle_close_rulestringcycle_anchor_dayintegerexcess_credit_dispositionstringcollections_policyobjectmonitoring_policyMonitoringPolicyObservation-only monitoring; send null to disable.
limit_review_policyLimitReviewPolicyDynamic limit reviews. Send null to turn them off.
limit_change_policystringdirect, approval_required or console_only. Leaving direct is refused while the limit-review policy says apply: direct.
late_termsobjectearly_payoff_termsobjectunderwriting_decision_policyUnderwritingDecisionPolicyOptional lender-owned evidence expiry and decline-reason requirements.
underwriting_criteriaarray · objectlegal_lending_entitystringstatement_brandingobjectcovenantsobjectevent_delivery_modeEventDeliveryModebank_link_redirect_urisarray · stringThe URLs a merchant's hosted bank Link may return to (see the create request). Replaces the stored list; null clears it.
event_delivery_lockedbooleanTrue holds event_delivery_mode where the operator set it; the partner's PUT /credit/programs/{id}/event-delivery is then refused.
sandbox_email_recipientsarray · stringSandbox only. Merchant addresses an email from this sandbox may be sent to, besides DayZero's own allow-list: an exact address or @domain for every address there; at most 25. A sent email's subject starts [Sandbox]. Ignored on a live business. Replaces the stored list; null clears it.
sandbox_email_redirect_tostringSandbox only. One address every merchant email from this sandbox goes to instead of the line's merchant_email, whatever the recipient list says. The subject starts [Sandbox] and names the merchant address it was meant for. Null sends to the merchant when allowed. Ignored on a live business. Null or blank clears it.
issuing_enabledbooleanramp_spend_program_idstringissuer_timezonestringThe issuer's posting-date timezone (see the create request). Reaches settlements recorded after the change only.
ramp_cardholder_user_idstringThe issuing identity (see the create request). Verified as a user on the connected Ramp account when set; null clears it.
allowed_mcc_codesarray · stringblocked_mcc_codesarray · stringforce_activateForceActivateRequestOperator console only. With status: active on a live program that fails a blocking launch check, makes it active anyway; the reason, who and when are recorded as activation_override. Without it that change is refused (CREDIT_660); an API token cannot send it (CREDIT_661).
Schema: SuccessEnvelope_CreditProgramResponse_
successbooleanmessagestringcodestringdataCreditProgramResponseSchema: 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.