Accounts
|-/redux
|
|-/accounts
|- index.ts
|- accountsSlice.ts
|- accountsThunks.tsHow to get Internal Accounts?
Invoke fetchInternalAccounts, from redux/accounts using LinkerStudio/core/hooks useAppDispatch.
import {useAppDispatch} from 'LinkerStudio/core/hooks';
import {fetchInternalAccounts} from 'LinkerStudio/modules/baas/redux/accounts';
const dispatch = useAppDispatch();
dispatch(fetchInternalAccounts({}));Get Specific Accounts
The use of all account request parameters is optional.
Parameter
Type
Description
syntheticAccountCategory
string
Filter by account type
Accounts Request Example
How to get Statements?
Invoke fetchCustomerStatements, from redux/accounts using LinkerStudio/core/hooks useAppDispatch.
Get Specific Statement
Get a document from a statement. The following environment variables are required:
Parameter
Type
Description
statementId
string
Filter by statement id
Response
Type
Description
document
base64
Show PDF in base64
isLoadingDocument
boolean
Show loading document
Last updated
Was this helpful?