200Successful Response
Schema: SuccessEnvelope_BankAnalysisResponse_
successbooleanmessagestringcodestringdataBankAnalysisResponse
/api/v1/credit/bank-analysisRead the configured source and return provisional cash movements.
Prerequisites: Server-configured lender, program/merchant binding, and either Tie service credentials or a trusted BigQuery dataset/identity binding.
Returns: Safe aggregates and evidence fingerprints. unavailable
carries a fixed error code. Source v1 does not attest history/freshness,
so underwriting measures remain unmeasured. Cash inflows are not revenue.
Note: Explicit tie_api_transient or bigquery_transient mode is required. Existing
ledger-backed assessment defaults are unchanged. This endpoint neither
saves an assessment nor applies approval policy or opens loans. Replay
is not exposed. Direct BigQuery returns aggregate-only results; raw data is
never copied into query result tables or retained here.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: BankAnalysisRequest
program_idstringrequiredYour lending program UUID.
external_merchant_idstringrequiredYour merchant identifier, bound server-side to its source organization or dataset.
source_modestringrequiredExplicit opt-in to temporary Tie API or direct BigQuery analysis.
One of: tie_api_transient, bigquery_transient
start_datestring · daterequiredInclusive window start; at most 366 days.
end_datestring · daterequiredInclusive window end, no later than today UTC.
Schema: SuccessEnvelope_BankAnalysisResponse_
successbooleanmessagestringcodestringdataBankAnalysisResponseSchema: 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.