Skip to content

Currency

Overview

The currency parameter specifies the currency to be used for the player’s transactions in the game. GPAS supports multiple currencies to accommodate players from different regions.

Supported Currencies

The following table lists the currencies supported by the GPAS system:

IdCurrency
BRLBrazilian Real
USDUS Dollar
EUREuro
MXNMexican Peso
CLPChilean Peso
PYGParaguayan Guarani

Implementation

When implementing currency support:

  1. Include the currency parameter in the game launcher URL as a query string parameter
  2. Use the currency ID (e.g., “USD”) rather than the full name
  3. Ensure that the currency is supported by both the operator’s system and the game provider
  4. Implement proper error handling for unsupported currencies

Example

https://subdomain.example.com/launcher/game/?authToken=abc123&walletId=wallet123&currency=USD

Currency Conversion

If your system supports multiple currencies:

  1. Ensure that the player’s wallet currency matches the currency specified in the game launcher
  2. If conversion is necessary, implement a clear and transparent conversion mechanism
  3. Display the conversion rate to the player
  4. Ensure that all transaction amounts are correctly converted

Display Considerations

When displaying currency information:

  1. Use the appropriate currency symbol (e.g., $, €, R$)
  2. Format numbers according to the currency’s standard (e.g., decimal places, thousands separators)
  3. Display the currency code alongside the amount for clarity
  4. Consider localization requirements for different regions

Error Handling

Implement proper error handling for currency-related issues:

  1. Unsupported currency
  2. Currency mismatch between wallet and game
  3. Conversion errors
  4. Display formatting errors