FinBaze for Platforms

Components

Kind: view (fills its container) · Session key: transactions · React: <FinBazeTransactions />

Create the session#

mutation {
  createEmbedSession(input: {
    companyId: "…"
    user: { externalUserId: "…" }
    components: { transactions: { enabled: true } }
  }) { clientSecret }
}

Requirements#

The company must have these features effective: banking. A hidden feature makes createEmbedSession fail with FEATURE_DISABLED.

Component features#

Switch these off per session with components.transactions.features.

FeatureDefault
categoriseon
spliton
attachReceipton
matchInvoiceson
aiSuggestionson

Options#

Passed to instance.create("transactions", options) or as props.

OptionType
bankAccountIdstringOne bank account.
filter"all" | "processed" | "unprocessed"Initial filter.

Every component also takes appearance and navigation ("internal" or "external").

Events#

EventReact prop
readyonReady
navigateonNavigate
erroronError
transaction.categorisedonTransactionCategorised
receipt.attachedonReceiptAttached

Use it#

import { FinBazeTransactions } from "@finbaze/embed-react";

<FinBazeTransactions />
const component = instance.create("transactions");
component.mount("#finbaze");