FinBaze for Platforms

Components

Kind: view (fills its container) · Session key: transactionDetail · React: <FinBazeTransactionDetail />

Create the session#

mutation {
  createEmbedSession(input: {
    companyId: "…"
    user: { externalUserId: "…" }
    components: { transactionDetail: { 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.transactionDetail.features.

FeatureDefault
categoriseon
spliton
attachReceipton
matchInvoiceson
aiSuggestionson

Options#

Passed to instance.create("transaction-detail", options) or as props.

OptionType
transactionIdstringFinBaze transaction id. Or:
bankAccountId + externalIdstringYour id for the transaction.

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

Events#

EventReact prop
readyonReady
navigateonNavigate
erroronError
transaction.categorisedonTransactionCategorised
receipt.attachedonReceiptAttached

Use it#

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

<FinBazeTransactionDetail />
const component = instance.create("transaction-detail");
component.mount("#finbaze");