Svelte SDK

npm version GitHub Svelte SDK for integrating Reevit unified payments with reactive stores.

Installation

Quick Start

The simplest way to integrate Reevit is using the ReevitCheckout component.

Props Reference

Events


Theming


Controlled Mode

If you prefer to create the payment intent on your backend before opening the checkout, you can use Controlled Mode.
In this mode, the SDK skips the initial intent creation step and proceeds directly to payment method selection or provider confirmation.
For full control over the payment flow, use the createReevitStore factory.

PSP Bridge Functions

For advanced use cases, use PSP bridge functions directly.

Stripe

Monnify (Nigeria)

M-Pesa (Kenya/Tanzania)


SvelteKit Integration

For SvelteKit applications, use the component in +page.svelte:

Supported Providers