Using the SDK
Learn how to use the SDK packages to integrate Wayflyer's Embedded Journey into your platform.
Learn how to use the SDK packages to integrate Wayflyer's Embedded Journey into your platform.
Partners looking for the fastest integration time and lowest maintenance burden should use our UI SDK, which renders the full embedded experience — CTA banner and journey panel — directly in your app.
Partners wishing to build their own UI should use our Headless SDK, which provides a typesafe wrapper around the Embedded Finance API with caching and state management.
| UI SDK | Headless SDK | |
|---|---|---|
| Best for | Fastest integration, lowest maintenance | Full UI control |
| Renders UI | Yes — CTA banner and journey panel | No — you build the UI |
| Handles theming | Yes | N/A |
| API caching | Yes | Yes |
| Package | @wf-financing/ui-sdk | @wf-financing/headless-sdk |