# 4.11 DepositWithdrawHistory

Method : [Post]
Url : https://api-dev.prettygaming.asia/apiRoute/api/depositWithdrawHistory
Headers : content-type application/json

# Request Body

Parameter Type Description
agentUsername String Agent account , Account length is restricted to 36 chars at most
agentApiKey String System generate key ID after crate Agent
ref String Deposit/Withdraw transaction reference.

# Example Request Body

{
  "agentUsername": "startapiTransferwallet",
  "agentApiKey": "ae6330a9-6c2f-1bd3-3122-47ddad703de9",
  "ref": "5f0c27dbea3f3261f2cd3886"
}
1
2
3
4
5

# Response Body

Parameter Type Required Description
code Number Yes Result Code Reference.
msg String Yes Information message.
data Object Yes Object response.
ref String Yes Deposit/Withdraw transaction reference.
playerApiId String Yes
playerUsername String Yes Player username from partner system.
playerApiUsername String Yes Player username from Pretty Gaming system.
transferAmount Number Yes
type String Yes
transferDate Date Yes Date type “yyyy-MM-dd HH:mm:ss” (GMT+0)

# Example Service Respond Code

{
  "code": 0,
  "msg": "SUCCESS",
  "data": {
    "ref": "5f0c27dbea3f3261f2cd3886",
    "playerApiId": "5f0c231d5aeecb61ec2f3867",
    "playerUsername": "startapiTransferwallet",
    "playerApiUsername": "b2uthb01@startapiTransferwallet",
    "transferAmount": 1,
    "type": "DEPOSIT",
    "transferDate": "2020-07-13 16:22:35"
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
13