201Successful Response
Schema: SuccessEnvelope_BankFeedIngestResponse_
successbooleanmessagestringcodestringdataBankFeedIngestResponse
/api/v1/credit/bank-feeds/{bank_feed_id}/ingestFor partners that pull merchant bank data in their own backend and push it directly into DayZero without BigQuery (provider: direct_push, or to seed a feed immediately). Each cash account gets a bank ledger on the merchant's DayZero business, posted transactions are booked with journal entries, voided transactions are hidden, and daily balance snapshots are interpolated across the history so underwriting and bank-settlement payment matching read them immediately. Idempotent on transaction_id and (account_id, as_of).
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
bank_feed_idstringrequiredThe bank feed to push bank data into.
Schema: BankFeedIngestRequest
accountsarray · BankFeedIngestAccountBankFeedIngestAccountBank accounts on the merchant's feed.
account_idstringrequiredYour stable id for the bank account (e.g. fca_... or acct_...).
institution_namestringThe bank's name.
display_namestringThe account's display name.
last4stringThe last four digits of the account.
statusstringAccount status (active, inactive).
typestringAccount kind (cash is synced to a bank ledger; credit is skipped).
One of: cash, credit
transactionsarray · BankFeedIngestTransactionBankFeedIngestTransactionBank transactions to upsert or void.
transaction_idstringrequiredYour idempotency key for the bank transaction.
account_idstringrequiredThe account_id this transaction belongs to.
amount_centsintegerrequiredSigned amount in cents (cash-flow sign: money into the account is positive, money leaving the account is negative).
currencystringThree-letter ISO currency code.
descriptionstringrequiredThe bank statement description.
statusstringposted books onto the merchant's ledger; pending is skipped; void removes a previously posted transaction.
One of: posted, pending, void
transacted_onstring · daterequiredThe calendar date the transaction posted at the bank.
categorystringThe transaction's category as a Plaid personal-finance detailed code, e.g. BANK_FEES_OVERDRAFT_FEES, BANK_FEES_INSUFFICIENT_FUNDS, INCOME_OTHER_INCOME. Read by the same measures that read Plaid's (nsf_count_12m counts the two bank-fee codes); other codes are kept as a categorisation hint. Optional: without it the description is read.
category_sourcestringWhere category came from, e.g. plaid, stripe_fc, partner. Recorded with the transaction; optional.
balancesarray · BankFeedIngestBalanceBankFeedIngestBalanceReported closing balances; intermediate days are interpolated.
account_idstringrequiredThe account_id this balance snapshot belongs to.
as_ofstring · daterequiredThe calendar day this closing balance applies to.
current_balance_centsintegerrequiredClosing balance on as_of, in cents.
currencystringThree-letter ISO currency code of the balance. Underwriting reads balances in the merchant business's own currency only; balances in any other currency are stored and left out of the measures, never converted.
typestringAccount kind (cash or credit).
One of: cash, credit
Schema: SuccessEnvelope_BankFeedIngestResponse_
successbooleanmessagestringcodestringdataBankFeedIngestResponseSchema: 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.