Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.khaime.com/llms.txt

Use this file to discover all available pages before exploring further.

Payments

Khaime acts as a payment orchestrator — you send a charge request, and Khaime routes it to the right gateway based on the customer’s currency and location.

Payment Flow

1

Customer selects currency

Via IP auto-detection or manual selection on your storefront.
2

You create a charge

Call POST /payments/charge with the amount, currency, and customer details. Include the customer’s country when available so fee detection and geography reports stay accurate.
3

Khaime routes to gateway

Khaime picks the best gateway for the customer’s currency and region.
4

Customer pays

Via Stripe Payment Element (embedded) or Paystack redirect (hosted).
5

Khaime confirms

Webhook payment.succeeded fires with transaction details.

Supported Gateways

GatewayCurrenciesType
StripeUSD, EUR, GBP, CAD, AUD, + 135 moreEmbedded (Payment Element)
PaystackNGN, GHS, KES, ZARRedirect (hosted page)
StartButtonGHSRedirect
PayPalUSD, EUR, GBPRedirect

Fee Structure

Fee TypeRate
Khaime platform fee6%
Stripe processing~2.9% + 30¢
Paystack processing~1.5% (capped)
Fees can be absorbed by the merchant or passed to the customer (configurable per business in the dashboard).