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 { PostV1CompaniesCompanyIdBankAccountsRequest, PostV1CompaniesCompanyIdBankAccountsResponse } from "../models/operations/postv1companiescompanyidbankaccounts.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Create a company bank account * * @remarks * This endpoint creates a new company bank account. * * Upon being created, two verification deposits are automatically sent to the bank account, and the bank account's verification_status is 'awaiting_deposits'. * * When the deposits are successfully transferred, the verification_status changes to 'ready_for_verification', at which point the verify endpoint can be used to verify the bank account. * After successful verification, the bank account's verification_status is 'verified'. * * >🚧 Warning * > * > If a default bank account exists, it will be disabled and the new bank account will replace it as the company's default funding method. * * scope: `company_bank_accounts:write` * * If set, this operation will use {@link Security.companyAccessAuth} from the global security. */ export declare function bankAccountsCreate(client: GustoEmbeddedCore, request: PostV1CompaniesCompanyIdBankAccountsRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=bankAccountsCreate.d.ts.map