Change the currency the user is charged in
set_currencyChanges the currency on the user's account, which every quote and order uses (renewals, new registrations, checkouts). Before quoting a price, ask the user which currency they want to be charged in, unless they already said; the account's current currency is in get_current_user and every currency's prices are in get_prices. Only call this when the user asked for another currency. It also changes the card payment provider (NETS or Stripe) for the new currency. Accounts with agreed partner prices can't change currency here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currencyCode | Yes | The 3-letter currency code the user chose, e.g. EUR, DKK, SEK, NOK, GBP or USD. |