Skip to main content

API_011 Get User Transaction Records

POSThttps://prod.phl8268.com/panel/api/integration/getUserTransactionRecords

Endpoint to get user transaction records from PHL with date range limited to one week (seven days).

Envelope

Please encode the following parameters into JSON, then encode them using Base64 and put them into the data field of a generic request/response. Signature: refer to Signature Description.

Request Schema

PropertyField TypeMandatoryDescriptionSample value
merchantCodeStringYMerchant codePNLM000001
creationDateFromStringYTransaction creation date. Format: yyyy-MM-dd'T'HH:mm2023-10-16T23:00
creationDateToStringYTransaction creation date. Format: yyyy-MM-dd'T'HH:mm2023-10-16T23:00

Response Schema

PropertyField TypeMandatoryDescriptionSample value
totalTicketCountNumberYTotal Ticket Count100
totalDeniedTicketCountNumberYTotal Denied Ticket Count50
totalBettingCountNumberYTotal Betting Count100
totalDeniedBettingCountNumberYTotal Denied Betting Count50
totalBetAmountBigDecimalYTotal Bet Amount100.00
totalDeniedBetAmountBigDecimalYTotal Denied Bet Amount150.00
totalStrikeAmountBigDecimalYTotal Strike Amount45020.00
userListListYEach transaction records per userRefer userList

userList

PropertyField TypeMandatoryDescriptionSample value
usernameStringYUsername used from the platformJOHNDOE
totalTicketCountNumberYTotal Ticket Count100
totalDeniedTicketCountNumberYTotal Denied Ticket Count50
totalBettingCountNumberYTotal Betting Count100
totalDeniedBettingCountNumberYTotal Denied Betting Count50
totalBetAmountBigDecimalYTotal Bet Amount100.00
totalDeniedBetAmountBigDecimalYTotal Denied Bet Amount150.00
totalStrikeAmountBigDecimalYTotal Strike Amount45020.00

Request Sample

{
"merchantCode": "PNLM000003",
"creationDateFrom": "2023-10-16T13:00",
"updatedDateTo": "2023-10-16T13:00"
}

Response Sample

{
"totalTicketCount": 300,
"totalDeniedTicketCount": 50,
"totalBettingCount": 650,
"totalDeniedBettingCount": 70,
"totalBetAmount": 1500.00,
"totalDeniedBetAmount": 200.00,
"totalStrikeAmount": 800.00,
"userList": [
{
"username": "JOHNDOE",
"totalTicketCount": 200,
"totalDeniedTicketCount": 20,
"totalBettingCount": 300,
"totalDeniedBettingCount": 40,
"totalBetAmount": 900.00,
"totalDeniedBetAmount": 100.00,
"totalStrikeAmount": 200.00
},
{
"username": "JANEDOE",
"totalTicketCount": 100,
"totalDeniedTicketCount": 30,
"totalBettingCount": 350,
"totalDeniedBettingCount": 30,
"totalBetAmount": 600.00,
"totalDeniedBetAmount": 100.00,
"totalStrikeAmount": 600.00
}
]
}