Products & Pricing
Get Product Pricing
Get localized pricing for a specific product.
GET
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.
Get Product Pricing
Returns the product’s price converted to the customer’s detected or specified currency, including fee breakdown, available payment methods, and any active price discrimination adjustment for the customer’s country.Path Parameters
The Khaime product ID.
Query Parameters
Override auto-detected currency. 3-letter ISO code (e.g.,
NGN).Override auto-detected customer country. 2-letter ISO code (e.g.,
NG). When omitted, the country is derived from the payment currency (e.g., NGN → NG), with IP geolocation as a fallback. Only needed for ambiguous currencies like USD.Response
Price Discrimination
If the merchant has configured a regional pricing rule for the customer’s country, theprice_discrimination field is included in the response. The adjustment is applied to the base price before currency conversion, so pricing.local already reflects the discriminated amount.
When no rule is active for the customer’s country, price_discrimination is null.
| Field | Type | Description |
|---|---|---|
original_base_price | integer | Product’s base price before any adjustment |
discrimination_amount | integer | Amount added (or subtracted) by the rule |
discrimination_percentage | number | Decimal percentage applied (e.g., 0.15 for +15%) |
adjusted_base_price | integer | Price after discrimination, before currency conversion |
country_triggered | string | ISO-2 country code that matched the rule |
