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.
Core Concepts
Khaime is a complete commerce infrastructure platform. These docs primarily cover the Partner API and plugin integrations — for merchants who want to connect their existing stores (WooCommerce, WordPress, custom platforms) to Khaime’s payment and multicurrency capabilities.Currencies & Conversion
Khaime operates with two currency concepts:- Baseline Currency: The merchant’s home currency (e.g., USD). Products are priced in this currency. Payouts settle in this currency.
- Customer Currency: The currency the customer sees and pays in (e.g., NGN). Determined by IP geolocation or explicit selection.
Gateway Routing
Khaime automatically selects the optimal payment gateway based on the customer’s currency and location. Supported regions include Africa, North America, Europe, and more. Merchants don’t need to configure individual gateways — Khaime handles the routing.Environments
| Environment | API Key Prefix | Purpose |
|---|---|---|
| Sandbox | pk_sandbox_ | Testing with test payment credentials |
| Live | pk_live_ | Real payments with real money |
Amounts
All monetary amounts in the API are expressed in the smallest currency unit:| Currency | Unit | Example |
|---|---|---|
| USD | cents | 5000 = $50.00 |
| NGN | kobo | 750000 = ₦7,500.00 |
| GBP | pence | 2500 = £25.00 |
| EUR | cents | 1000 = €10.00 |
Fees
Khaime’s fee structure:- Platform fee: 6% of the transaction amount
- Gateway fee: Varies by provider (Stripe ~2.9% + 30¢, Paystack ~1.5%)
- Who pays: Configurable per merchant — customer can absorb fees or merchant can
Webhooks
Khaime sends real-time notifications for payment events. Webhooks are:- Signed with HMAC-SHA256 using your webhook secret
- Retried up to 3 times with 2-second delays
- Idempotent — each event has a unique
event_idfor deduplication
