This section outlines the essential variables required for integrators implementing provider adapters. These variables are critical for authenticating and interacting with the Reverse API, ensuring secure and reliable communication between your integration layer and our services.

Integrator Variables

  • Provider ID: A unique identifier assigned to each provider, used to differentiate providers in the system. You will include this in every API call you make on the provider’s behalf.

  • Private Key: A confidential key we provide to you, used to sign requests securely. This key should be kept private and never exposed publicly to prevent unauthorized access.

  • Access Key: An access key used in combination with basic authentication to authorize API requests. It serves as an additional layer of security when your integration layer connects to the Reverse API.

Provider Variables

These variables are specific to each provider’s integration and are crucial for managing API access and transaction lifecycles. You must collect and maintain them per provider.

  • Stage Environment IP addresses: IP addresses that are permitted to access the Reverse API in the staging environment. Provide the IPs used by your integration layer. Any requests originating from IPs not listed here will be rejected.

  • Production Environment IP addresses: IP addresses that are permitted to access the Reverse API in the production environment. Provide the IPs used by your production integration layer and ensure only trusted IPs are configured.

  • Debit Accept Expire Time (in seconds): Defines the time window, in seconds, within which a bet or debit request must be accepted by the provider. If the request is not accepted within this timeframe, it will be automatically rejected. It should be between 3600 and 86400.

  • Credit/Rollback Accept Expire Time (in seconds): Specifies the time, in seconds, allowed for accepting a credit or rollback operation. If the operation is not confirmed within this period, it will be considered failed. It should be between 3600 and 604800.

  • Game Launch URL (Stage Environment): The URL used by your integration layer to launch provider games in staging, including query parameters that initiate the game session. This URL links the player’s session with the appropriate provider in the stage environment.

  • Game Launch URL (Production Environment): The URL used by your integration layer to launch provider games in production, including the necessary query parameters to initiate a live game session. It ensures the player’s session is correctly associated with the provider in the production setup.

  • Is Supported Demo Mode: A boolean value indicating whether the provider supports demo or free-play mode. When set to true, players can access the game in demo mode without placing real money bets, which is useful for testing and promotional purposes.

Environment Variables

These variables outline the URLs for interacting with the Reverse API in different environments. Use the appropriate URL depending on whether you are in a testing or production phase.

  • Stage Environment: https://play-dev.fantasy-goal.com/

    This URL is used for testing and development purposes. It allows you to validate your integration without affecting live production data.

  • Production Environment: https://play.fantasy-goal.com/

    The live URL for the Reverse API, used for all production-level transactions and requests. Ensure all configurations are finalized before using this endpoint in live environments.