200Successful Response
Schema: SuccessEnvelope_BankConnectionResponse_
successbooleanmessagestringcodestringdataBankConnectionResponse
/api/v1/credit/sandbox/bank-connections/{bank_connection_id}/completeSandbox only. Does what the merchant does in Link: completed lands a synthetic bank (by default one checking account, Sandbox Business Checking ending 0000) on the merchant's business, marked as already synced, and finishes the connection as a live one finishes: the accounts, the repayment account on the line, credit.bank_connection.completed. exited fails it (credit.bank_connection.failed). A connection that is no longer pending is 400 CREDIT_786; a live business is 400 CREDIT_090.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
bank_connection_idstringrequiredThe sandbox bank connection to finish.
Schema: SandboxBankConnectionCompleteRequest
outcomestringcompleted: the merchant connects a bank. exited: the merchant leaves Link, and the connection fails with failure_reason: exited.
One of: completed, exited
institution_namestringThe bank the merchant connects.
accountsarray · SandboxBankAccountSpecThe accounts the merchant shares. Defaults to one checking account, Sandbox Business Checking ending 0000.
Schema: SuccessEnvelope_BankConnectionResponse_
successbooleanmessagestringcodestringdataBankConnectionResponseSchema: 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.