Skip to main content

React SDK

The @khaime/react package lets you accept payments from anywhere in the world with just a few lines of code. We handle the complexity of routing to the right payment provider.

Why Use the React SDK?

One Integration

No need to integrate Stripe, Paystack, or other providers separately. Just pass a token.

Global Coverage

Accept USD, EUR, NGN, GHS, KES, ZAR, and 100+ currencies automatically.

Automatic Routing

We detect the currency and route to the best payment provider for your customer.

White-labeled

Your customers never see Stripe or Paystack. It’s all your brand.

How It Works

  1. Your backend calls the Khaime API to create a payment
  2. Khaime returns a token containing everything needed
  3. Pass the token to <KhaimeCheckout />
  4. We decode it, detect the gateway, and render the right UI
The token is opaque - don’t try to parse it. Just pass it directly to the component.

Supported Payment Methods

Next Steps

Installation

Get started with npm install

Components

Learn about KhaimeCheckout and KhaimePaymentElement