# 4.12 DepositWithdrawHistoryByTransId
data period: 1 month
Method : [Post]
Url : https://api-dev.prettygaming.asia/apiRoute/api/depositWithdrawHistoryByTransId
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 |
| transId | String | transId Unique from your system type Deposit / Withdrawal |
# Example Request Body
{
"agentUsername": "startapiTransferwallet",
"agentApiKey": "ae6330a9-6c2f-1bd3-3122-47ddad703de9",
"transId": "5f0c27dbea3f3261f2cd3886"
}
1
2
3
4
5
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. |
| transId | String | Yes | transId Unique from your system type Deposit / Withdrawal |
| playerApiId | String | Yes | |
| playerUsername | String | Yes | Player username from partner system. |
| playerApiUsername | String | Yes | Player username from Pretty Gaming system. |
| transferAmount | Number | Yes | Date type “yyyy-MM-dd HH:mm:ss” (GMT+0) |
| type | String | Yes | |
| transferDate | Date | Yes | Date type “yyyy-MM-dd HH:mm:ss” (GMT+0) |
# Service Response Code
| Parameter | Description |
|---|---|
| 0 | success |
| 71023 | TransId not found. |
# Example Service Respond Code
{
"code": 0,
"msg": "SUCCESS",
"data": {
"transId": "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
2
3
4
5
6
7
8
9
10
11
12
13