import { GustoEmbeddedCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { GustoEmbeddedError } from "../models/errors/gustoembeddederror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { NotFoundErrorObject } from "../models/errors/notfounderrorobject.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { UnprocessableEntityError } from "../models/errors/unprocessableentityerror.js"; import { PutV1CompaniesCompanyIdBankAccountsVerifyRequest, PutV1CompaniesCompanyIdBankAccountsVerifyResponse } from "../models/operations/putv1companiescompanyidbankaccountsverify.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Verify a company bank account * * @remarks * Verify a company bank account by confirming the two micro-deposits sent to the bank account. * * Note that the order of the two deposits specified in request parameters does not matter. * There's a maximum of 5 verification attempts, after which we will automatically initiate a new set of micro-deposits and require the bank account to be verified with the new micro-deposits. * * ### Bank account verification in demo * In the demo environment, use the `POST /v1/companies/{company_id}/bank_accounts/{bank_account_uuid}/send_test_deposits` endpoint to simulate the micro-deposits transfer and return the two amounts in the response. You can call this endpoint as many times as you wish to retrieve the values of the two micro-deposits. * * ### Webhooks * - `company.bank_account.verified`: Fires when the company bank account is successfully verified. * * ### Related guides * - [Manage company bank accounts](doc:manage-company-bank-accounts) * - [Bank Account Events](doc:bank-account-events) * * scope: `company_bank_accounts:write` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function bankAccountsVerify(client: GustoEmbeddedCore, request: PutV1CompaniesCompanyIdBankAccountsVerifyRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=bankAccountsVerify.d.ts.map