Skip to main content

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:

SettingWhere to configureDescription
Score Exchange per currencyLoyalty β†’ Cashback β†’ New CashbackDefines how many currency units equal 1 point for a given currency (e.g. GBP: 0.0017, EUR: 0.00145)
Currency Conversion RateConfiguration β†’ Loyalty β†’ ConversionsExchange 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_exchange for GBP: 0.0017
  • Conversion rate GBP β†’ EUR: 1.17
  • score_exchange for 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.

info

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​

ScenarioWhat the engine uses
Customer buys in their home currencyScore exchange for cart currency directly
Customer buys in a different currency(points_from_campaign Γ— score_exchange(cart) Γ— conversion_rate) / score_exchange(registration)
Campaigns appliedCampaigns of the purchase store's country
Points storedAlways in the registration currency

Configuration​

SettingWhere
Score Exchange per currencyLoyalty β†’ Cashback β†’ New Cashback
Currency conversion ratesConfiguration β†’ Loyalty β†’ Conversions