Financial account transactions
Show a table of all transactions for a financial account.
Financial account transactions renders the view of a list of transactions associated with a financial account for your connected accounts.
The permission boundary for this component is at the connected account level, not at the individual financial account level. This UI should be shown to users that have access to all financial accounts, not to users that have restricted access to a single financial account.
When creating an Account Session, enable the financial account transactions component by specifying financial_ in the components parameter. You can enable or disable individual features of the financial account component by specifying the features parameter under financial_.
curl https://api.stripe.com/v1/account_sessions \ -u "sk_test_Hrs6SAopgFPF0bZXSN3f6ELN:" \ -d "account=" \ -d "components[financial_account_transactions][enabled]=true" \ -d "components[financial_account_transactions][features][card_spend_dispute_management]=true"{{CONNECTED_ACCOUNT_ID}}
After creating the account session and initializing ConnectJS, you can render the financial account transactions component in the frontend:
// Include this element in your HTML const financialAccountTransactions = stripeConnectInstance.create('financial-account-transactions'); financialAccountTransactions.setFinancialAccount('{{FINANCIAL_ACCOUNT_ID}}'); container.appendChild(financialAccountTransactions);
This embedded component supports the following parameters:
| Method | Type | Description | |
|---|---|---|---|
setFinancialAccount | string | The ID of the financial account which you want to display a list of transactions for | required |