Quickstart

The integration of Buffalo Game has five steps

  • Implement the one-wallet in your server
    • Share the auth token and one-wallet endpoint with Buffalo Game support team
  • Integrate the 'Game Launch API' to get the game url
    • Get the api key and operator id from the Buffalo Game support team. (The api key and operator id is used for integrating Game Launch API)
    • Check the additional description page to get the game type id and supportive language Additional Description
    • Integrate the game launch API
    • Present the game view by the game url in your website

Buffalo's Base url

Implement Buffalo Seamless Wallet (One Wallet)

The one wallet is the type of seamless wallet. The Buffalo Game won't own the wallet on our side. Each action relate to the money will directly trigger operator server. The one wallet has sid method:

  • Check: check the user's sid is still valid
  • Balance: check the user's balance
  • Debit: make user to bet in the game
  • Cancel: make Buffalo Game can cancel the bet
  • Credit: make Buffalo Game settle the game
  • Sid (DEV env only): make Buffalo Game support team can create the sid for user on the dev env. (It should only be triggered on the dev env)

Share the auth token and one-wallet endpoint with Buffalo Game support team

The Buffalo Game server will attach the auth token in each request to one wallet API. The operator need to create and offer the token to the Buffalo Game support team. And also need to validate the token in each request. The token format: max length is 40 and only accept character in (A-Z,a-z,0-9,-,_)

Integrate the 'Game Launch API' to get the game url

The 'Game Launch API' is the API for operator get the game url.

Get the api key from the Buffalo Game support team

Before integrate the 'Game Launch API', the operator need to get the API key and account name from the Buffalo Game support team. The Buffalo Game will validate it in each 'Game Launch API' request.

Present the game view by the game url in your website

After get the game url, operator can present it by the iframe or the new web tab.

Was this page helpful?