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.
Multicurrency
Khaime converts prices in real-time and routes payments to the optimal gateway for each currency.How It Works
- Merchant sets a baseline currency (e.g., USD) — all products are priced in this currency
- Customer’s currency is detected via IP geolocation (or manual selection)
- Prices are converted using live exchange rates
- Payment is processed in the customer’s currency via the appropriate gateway
- Merchant receives payout in their baseline currency
Supported Currencies
| Currency | Code | Symbol |
|---|---|---|
| US Dollar | USD | $ |
| Euro | EUR | € |
| British Pound | GBP | £ |
| Canadian Dollar | CAD | C$ |
| Australian Dollar | AUD | A$ |
| Nigerian Naira | NGN | ₦ |
| Ghanaian Cedi | GHS | GH₵ |
| Kenyan Shilling | KES | KSh |
| South African Rand | ZAR | R |
| Rwandan Franc | RWF | RF |
| Tanzanian Shilling | TZS | TSh |
| Ugandan Shilling | UGX | USh |
| West African CFA | XOF | CFA |
Exchange Rates
- Source: Live mid-market rates
- Caching: Rates are cached with volatility-aware TTLs
- Stable currencies (USD/EUR): 60 minutes
- Volatile currencies (USD/NGN): 15 minutes
- Tolerance: 5% drift tolerance for cross-currency payment validation
API Usage
Get converted pricing
Charge in customer’s currency
amount/currency— what the customer pays (already converted)total_amount/total_currency— the merchant’s original pricing, inclusive of all fees (shipping, etc.)converted_total_amount/converted_total_currency— your pre-computed conversion result; Khaime cross-validates this against its own calculation (1% tolerance)
