@qonto/embed-sdk / organizationsDocumentation Index
Fetch the complete documentation index at: https://docs.qonto.com/llms.txt
Use this file to discover all available pages before exploring further.
Variable: organizations
The organizations namespace contains all the functions related to organizations’ operations such as retrieving bank accounts. Client-side only - Uses proxy-based authentication (proxyEndpointDescriptor). For server-side operations with accessToken, import fromconstorganizations:object
'@qonto/embed-sdk/server/organizations'.
Type declaration
getBankAccounts()
getBankAccounts: (Retrieves the bank accounts for the organization. Client-side only - Uses proxy-based authentication. For server-side operations, import fromoperationSettings) =>Promise<BankAccount[]>
'@qonto/embed-sdk/server/organizations'.
Parameters
operationSettings
An object with operation-level settings such asproxyEndpointDescriptor (required).
operationSettings
ClientOperationSettings
Returns
Promise<BankAccount[]>
A promise that resolves to the bank accounts for the organization.
Throws
InvalidParametersError If proxyEndpointDescriptor is not provided.
Throws
EmbedApiError If the API request fails or returns an error.
Example
getMembership()
getMembership: (Retrieves the membership information for the current user. Client-side only - Uses proxy-based authentication. For server-side operations, import fromparams) =>Promise<Membership>
'@qonto/embed-sdk/server/organizations'.
Parameters
params
(Optional) An object containing:operationSettings: (Optional) An object with operation-level settings such asproxyEndpointDescriptor. If not provided here, the settings previously passed to theinitializefunction will be used.
operationSettings?
ClientOperationSettings
Returns
Promise<Membership>
A promise that resolves to the membership information for the current user.
Throws
InvalidParametersError If proxyEndpointDescriptor is not provided here
or via initialize.
Throws
EmbedApiError If the API request fails or returns an error.
Examples
getOrganization()
getOrganization: (Retrieves the organization information. Client-side only - Uses proxy-based authentication. For server-side operations, import fromoperationSettings) =>Promise<Organization>
'@qonto/embed-sdk/server/organizations'.
Parameters
operationSettings
An object with operation-level settings such asproxyEndpointDescriptor (required).
operationSettings
ClientOperationSettings
Returns
Promise<Organization>
A promise that resolves to the organization the current user belongs to.
Throws
InvalidParametersError If proxyEndpointDescriptor is not provided.
Throws
EmbedApiError If the API request fails or returns an error.