@qonto/embed-sdk / organizations

Variable: organizations

const organizations: object = organizationsNamespace.organizations
The organizations namespace contains all the functions related to organizations’ operations such as retrieving bank accounts. It can be accessed like this:
import { organizations } from '@qonto/embed-sdk/organizations';
await organizations.getBankAccounts({accessToken, stagingToken});

Type declaration

getBankAccounts()

getBankAccounts: (operationSettings) => Promise<BankAccount[]>
Retrieves the bank accounts for the organization.

Parameters

operationSettings
OperationSettings An object with operation-level settings such as accessToken, stagingToken, proxyRequestFunction, and other optional parameters. See OperationSettings for more details.

Returns

Promise<BankAccount[]> A promise that resolves to the bank accounts for the organization.

Throws

EmbedApiError If the API request fails or returns an error.