Introduction to Currencies
Overview
The AccelByte Gaming Services (AGS) Currency service allows you to configure the currencies you want to accept for transactions in your game. You can configure both real-world and virtual currencies to allow your players to transact using those currencies or to earn virtual currencies.
The scope of a virtual currency depends on how it is configured:
- If you create your currency in the publisher namespace, your currency will be available to be used in all your game namespaces.
- If you create your currency in a specific game namespace, your currency will only be available to be used in that specific namespace.
- The real currency code follows the ISO_4217 standardization, such as USD for United States Dollar.
- The virtual currency code is something you create.
Virtual currencies stored in the publisher namespace wallets can be used in both publisher and game namespaces. Game namespace wallets can only store VC within the corresponding game namespace.
Currency service architecture diagram
The AGS Currency service is a part of the Commerce services, which defines currency for payment with real money via a payment provider (e.g., Adyen, Xsolla, Alipay, or Wxpay) or via a wallet for virtual currencies.