Components
Kind: view (fills its container) · Session key: reconciliation · React: <FinBazeReconciliation />
Create the session#
mutation {
createEmbedSession(input: {
companyId: "…"
user: { externalUserId: "…" }
components: { reconciliation: { enabled: true } }
}) { clientSecret }
}
Requirements#
The company must have these features effective: banking. A hidden feature makes createEmbedSession fail with FEATURE_DISABLED.
Component features#
None.
Options#
Passed to instance.create("reconciliation", options) or as props.
| Option | Type | |
|---|---|---|
accountId | string | The bank account to show. Defaults to the first one. |
period | 'current' | 'previous' | { year: number; month?: number } | The month to show. |
Every component also takes appearance and navigation ("internal" or "external").
Events#
| Event | React prop |
|---|---|
ready | onReady |
navigate | onNavigate |
error | onError |
reconciliation.day_selected | onReconciliationDaySelected |
Use it#
import { FinBazeReconciliation } from "@finbaze/embed-react";
<FinBazeReconciliation />
const component = instance.create("reconciliation");
component.mount("#finbaze");