Transactions
|-/redux
|
|-/transactions
|- index.ts
|- transactionsSlice.ts
|- transactionsThunks.ts
How to get transactions?
Invoke fetchAccountTransactions from redux/transactions using LinkerStudio/core/hooks useAppDispatch
import {useAppDispatch} from 'LinkerStudio/core/hooks';
const dispatch = useAppDispatch();
dispatch(fetchAccountTransactions({}));
Get specific transactions
All transactions request parameters are optional to use.
Parameter
Type
Description
limit
number
Default: 100
search_description
string
Filter by description of a transaction. '*' can be used as a wild card at the start or the end of a description.
synthetic_account_id
string
Filter by synthetic account, either in source or destination
source_synthetic_account_id
string
Filter by synthetic account, but only in source
destination_synthectic_account_id
string
Filter by synthetic account, but only in destination
debit_card_uid
string
Filter by debit card uid
offset
string
Default: 0
Transactions Request Example
fetchAccountTransactions({
limit: 5,
search_description: 'description',
status: 'pending'
});
Last updated
Was this helpful?