Multicurrency
Multicurrency applies when the cart currency (the currency of the store where the customer is buying) differs from the customer's registration currency (the currency of the country where they enrolled in the loyalty program).
The platform automatically detects this and marks the transaction as international: true in the response.
Pre-requirementsβ
Two configurations must be in place before multicurrency works. Score Exchange must exist for both the cart currency and the registration currency:
| Setting | Where to configure | Description |
|---|---|---|
| Score Exchange per currency | Loyalty β Cashback β New Cashback | Defines how many currency units equal 1 point for a given currency (e.g. GBP: 0.0017, EUR: 0.00145) |
| Currency Conversion Rate | Configuration β Loyalty β Conversions | Exchange rate between the cart currency and the customer's registration currency (e.g. GBP β EUR = 1.17) |
How the effective score exchange is calculatedβ
When a customer buys in a foreign currency, the engine first evaluates points campaigns as if the purchase were local to the store. It then converts those points into the customer's registration currency using both score exchanges and the conversion rate:
final_points =
(points_from_campaign Γ score_exchange(cart_currency) Γ conversion_rate(cart β registration))
/ score_exchange(registration_currency)
This ensures the customer earns a fair points value in their home currency, regardless of which country they buy in.
Worked example β EUR customer buying in GBPβ
Setup:
- Customer registered in Spain β registration currency: EUR
- Purchase made in a UK store β cart currency: GBP
- Points from the campaign for the UK purchase: 1,500
score_exchangefor GBP:0.0017- Conversion rate GBP β EUR:
1.17 score_exchangefor EUR:0.00145
Calculation:
final_points = (1,500 Γ 0.0017 Γ 1.17) / 0.00145 β 2,058
The customer earns 2,058 points in their EUR registration currency.
Store-country campaigns
The campaigns evaluated are those of the store country (UK campaigns in this example), not the customer's registration country. Campaigns scoped to Spain will not apply even if the customer is Spanish.
Cashback redemption across countriesβ
When a customer with a foreign registration currency redeems cashback in a different country, the same multicurrency conversion logic is used to calculate the monetary value of the discount applied at checkout.
The cashback_score_desired field works identically to the domestic flow β the engine transparently handles the conversion.
Cross-country usage summaryβ
| Scenario | What the engine uses |
|---|---|
| Customer buys in their home currency | Score exchange for cart currency directly |
| Customer buys in a different currency | (points_from_campaign Γ score_exchange(cart) Γ conversion_rate) / score_exchange(registration) |
| Campaigns applied | Campaigns of the purchase store's country |
| Points stored | Always in the registration currency |
Configurationβ
| Setting | Where |
|---|---|
| Score Exchange per currency | Loyalty β Cashback β New Cashback |
| Currency conversion rates | Configuration β Loyalty β Conversions |