Welcome to the Funpepper documentation.
What is Funpepper ?
Funpepper is a platform focusing on aggregation and promotion of small games. Game developers can access the platform to share our user system, recharge/consumption system, international promotion channels, and thus earn revenue.
User system
Funpepper has a complete user system. Game developers only need to access Funpepper to obtain complete user information to register as game users.
Some keys:
- The game platform has a complete OAuth authorization system. Each game developer will get the corresponding
client_id/client_secret
. Through the JSSDK provided by us, the temporary authorizationcode
can be obtained, and then the platform server API can be invoked to obtain the useraccess_token
, thus having the authority to operate the user account, such as obtaining the user’s account balance, deducting money and adding money. - Each Funpepper user has a unique
openId
in all games of the same developer. Code
is a temporary authorization code that can only be used once and has a validity period of 10 minutes.Access_token
is valid for twelve hours and can be exchanged foraccess_token
byrefresh_token
after the expiration time.refresh_token
is valid for seven days.
Game currency systems
Funpepper platform has two game currency systems, named diamond and gold. Among them, gold is an experience coin. Users can get it without recharging. Every user can get 3000 gold coins free of charge on the platform every day.
Diamond is a more general currency. When users win diamond through games, they can exchange e-commerce shopping cards, physical prizes, and digital cypto currency (GTO/USDT) in the platform mall, obtain access:
- The ratio of gold to diamond is 1000:1, for example: 1000 gold can be exchanged for 1 diamond.
- Acquired by recharging
It should be noted that each user has and only has one exchange opportunity, and must have any number of diamond recharge records. Diamond can not be converted into gold.
Because of the existence of two game currency systems, in order to provide platform users with a better user experience, developers must provide a version of each game using diamond and gold.
How to integrate game into platform ?
1、Get the account and password of game developer’s business Management System, you can contact the platform business BD or Operator.
2、 Create and maintain game information in the business Management System .
- Log in [http://gameplatform.upliveapp.com] (http://gameplatform.upliveapp.com) through the account and password provided by the platform to check the necessary information such as client_id and client_secret.
- One developer account can create multiple different games
- When creating a game, you need to provide the name, link and ICON of the game. In addition, you need to declare the country or region where the game is to be released (check box).
- For security reasons, it is important to ensure that the game URL domain name is consistent with the game callback domain name set by the developer’s account.
3、Using OAuth / API
Get basic information of logged-in users, user diamond/gold balance, increase diamond(gold) / deduct diamond(gold) to play the game. Please check ‘Authorized login’ and ‘Interface List’ for details.
4、Integrate JSSDK
Through JSSDK, the interaction of login and recharge can be realized. Please check JSSDK Document for details.