Skip to main content
GET

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

product_id
integer
required
The Khaime product ID.

Query Parameters

currency
string
Override auto-detected currency. 3-letter ISO code (e.g., NGN).
customer_country
string
Override auto-detected customer country. 2-letter ISO code (e.g., NG). When omitted, the country is derived from the payment currency (e.g., NGNNG), 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, the price_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.