FinBaze for Platforms

Components

Kind: view (fills its container) · Session key: vehicles · React: <FinBazeVehicles />

Create the session#

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

Requirements#

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

Component features#

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

FeatureDefault
createon

Options#

Only the common options: appearance and navigation ("internal" or "external").

Events#

EventReact prop
readyonReady
navigateonNavigate
erroronError
vehicle.createdonVehicleCreated

Use it#

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

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