Pgs Transferapi en v1.1.7
Pgs Transferapi en v1.1.7
API Document
Transfer mode
Index
Revision History 3
Notice for Operator 4
Operator must provide the below information first 4
Limit of develop(Staging) environment 4
API Integration 5
API General Rules 5
Currency and Merchant 7
Only one currency in develop(Staging) environment 9
Common Parameters and Terms 10
API List 11
API Spec Document link (Detail) 11
2.1.1 Get game launch url 11
2.2.1 Check player exist 11
2.2.2 Create player account 11
2.4.1 Get player wallet 11
2.4.2 Wallet transfer from platform to gameWallet 11
2.4.3 Wallet transfer from gameWallet to platform 11
2.4.4 Query transfer record 11
3.1.1 Get bet records 11
3.1.3 Get merchant statistic report 12
3.3.1 Get replay/screenShot history 12
4.6.1 Get game list 12
4.8.1 Get promotion event prize records 12
4.9.9 Force logout player 12
Parameter rules 13
amount (transfer amount): 13
Special case description (game) 14
Prepaid mode games (e.g. Fishing game) 14
Valid Amount/Flow Amount / Turnover (Live casino) 14
Appendix.Codes 15
Enum code reference document link: 15
Game ID: 15
Common Error Code: 15
Revision History
Version Date Author Description
1.0.2 2019-01-22 RD Add a new API in 2.4.3 for query transfer record
1.0.4 2020-07-03 RD Fix 2.1.1 create game url、2.6.2 API for game list
开发人员备注: 文件版本若调整。请一并更新档案名称
Notice for Operator
{
"merchantID" : "{{MerchantID}}" ,
"merchantSecretKey" : "{{MerchantSecretKey}}" ,
"playerName" : "test_user_001"
}
○ Return Format
■ statusCode are in 200、400、500
■ there are two formats as described below
■ Return Format (200)
{
code : 0 ,
message : null,
data : {
"amount" : 500.00
}
}
1:1000 Currency
Operator needs to convert the currency by itself. Our system will not automatic conversion on the
game side. For example, if the platform currency is VND 1:1. And the merchant we provide is
configured as KVND (1000:1) currency. Operator need handles the 1000:1 conversion when
transferring money. If the platform cannot handle this mechanism. We recommend that you apply
for a merchant with 1:1 currency instead.
The data (betAmount, payoutAmount , etc…) in the backoffice and API will be displayed in the
numerical value of the set currency. For example,
If merchant currency is IDR, all the value will display as IDR 1:1 amount value.
If merchant currency is KIDR (IDR 1000:1), all the value will display as IDR 1000:1 amount value.
If merchant currency is MYR100 (MYR 1:100), all the value will display as MYR 1:100 amount value.
Please make sure to confirm which currency your merchant is configured to.
Only one currency in develop(Staging) environment
When operator start api-integration and test, we usually provide the develop-environment api-key
first. There are some limit in develop environment.
● the currency is fixed. (only one currency in develop environment)
● the min bet / max bet is fixed.
● if the operator needs to validate min bet / max bet is suit. Please validate it in production
environment.
Merchant’s Currency
In our system(Game Provider) , currency is defined in our merchant config , and one merchant
account supports one currency only. If your platform requires multiple currencies. Please contact us
to apply for multiple merchant accounts.
For example, If your system needs USD/IDR/THB currencies. We will provide you 3 set merchant
accounts like this.
The player's currency in the game will be determined based on the merchant used when launch the game.
Common Parameters and Terms
API Common Parameter:
Name Description
merchantID Each Operator have an ID (provides in advance)
Other Terms:
Name Description
Operator Operator
Some APIs have access restrictions. make sure to read the API description.
English http://document.dev.dd99.site/api-document/transfer/EN
简体中文 http://document.dev.dd99.site/api-document/transfer/CN
List of APIs
GET /game/link
2.1.1 Get game launch url
GET /player/exist
2.2.1 Check player exist
POST /player
2.2.2 Create player account account format rules
GET /wallet/amount
2.4.1 Get player wallet
POST /wallet/transfer-in
2.4.2 Wallet transfer from platform to gameWallet amount rules
POST /wallet/transfer-out
2.4.3 Wallet transfer from gameWallet to platform amount rules
GET /transfer
2.4.4 Query transfer record
GET /game-records
3.1.1 Get bet records
GET /game-records/report
3.1.3 Get merchant statistic report
GET /game-records/screenshot-hi
3.3.1 Get replay/screenShot history story/link
GET /games
4.6.1 Get game list
GET /event/prize-records
4.8.1 Get promotion event prize records
POST /player/logout
4.9.9 Force logout player
Parameter rules
valid-rule
PlayerName/PlayerUniqueID:
only alphabets, number, dash(-) and underline(_) are allowed
min length: 4 , max length: 36
To check which games is prepaid-mode. please use API 4.6.1 Get game list , isPrePaidMode
column.
Column Description
betAmount debit amount (all of balance) when enter the game room.
#Sample: Player betting three times in a single round. totalFlowAmount = 600。Our system
will distribute average-amount (200) to each records.
#Note: If specific parameters. The 3-1 game-records API will provide the roundID and
totalFlowAmount of round (for liveCasino games).
Appendix.Codes
code number
說明 網址
English http://document.dev.dd99.site/document/enums/en
中文 http://document.dev.dd99.site/document/enums/cn
Game ID:
Operator can get available game list by accessing API 4.6.1, System will add new games from time to
time. This document may not be updated in time. If operator need the logo or icon for the games,
please contact us.
ID Description
290030 LittleWitch (星月魔女)