AMBSlot API Document
  • Seamless API Document
    • Table of Contents
    • Change Logs
    • Notice
    • Encryption & Decryption
    • AMBSlot Seamless Integration APIs
      • Seamless API - Create Member
      • Seamless API - Change Password
      • Seamless API - Get Game List
      • Seamless API - Get Online User
      • Seamless API - Launch Lobby Client
      • Seamless API – Launch Selected Game Client
      • Seamless API – Get Round Result
    • Operator Seamless Integration APIs
      • Seamless API – Get Balance
      • Seamless API – Bet
      • Seamless API – Payout
      • Seamless API – Settle
      • Seamless API – Cancel
  • Transfer API Document
    • Table of Contents
    • Change Logs
    • Notice
    • Encryption & Decryption
    • AMBSlot Transfer Integration APIs
      • Transfer API - Create Member
      • Transfer API - Change Password
      • Transfer API - Get Game List
      • Transfer API - Deposit
      • Transfer API - Withdraw
      • Transfer API - Check Available Balance
      • Transfer API - Launch Selected Game Client
      • Transfer API - Launch Lobby Client
      • Transfer API - Get Round Result
      • Transfer API - Get Key Transfer
      • Transfer API - Get Report By Date And Time
      • Transfer API - Get Report By Date
      • Transfer API - Get Report 10 Minutes
      • Transfer API - Report Time 10 Minutes
Powered by GitBook
On this page
  • Request URL
  • Request Body Parameters
  • Request Body Example
  • Response Parameters
  • Response Example
  1. Transfer API Document
  2. AMBSlot Transfer Integration APIs

Transfer API - Get Report By Date And Time

Request URL

[POST] [AMBSLOT-API-Domain]/transfer/period

Request Body Parameters

Parameter
Description
Type
Required?

username

Member username

String

Y

agent

Agent id that AMBSlot has provided

String

Y

date

Date that user want to get transactions

String

Y

startTime

Min time that user want to get transactions (GMT+8)

String

Y

endTime

Max time that user want to get transactions (GMT+8)

String

Y

limit

Limit number of transactions

Number

Y

page

Page number of transactions

Number

Y

gameId

Game list that user want to get transactions (optional)

Array

N

Request Body Example

{
    "username": "username",
    "agent": "agentId",
    "date": "2020-08-17",
    "startTime": "00:00:00",
    "endTime": "23:59:59",
    "gameId": ["SOLAR", "GH"],
    "limit": 100,
    "page": 1
}

Response Parameters

Status Object

Parameter
Description
Type
Required?

code

0: Success

997: Invalid request data 998: Invalid agent id 999: Service not available 1601: Response error via axios timeout

Number

Y

message

Error message

String

Y

Data Object

Parameter
Description
Type
Required?

pageNumber

Number of all page

Number

Y

result

Report of transactions

Array

Y

username

Username of user

String

Y

gameName

Name of game that player was play

String

Y

gameId

Prefix of game that player was play

String

Y

product

Partner of game that player was play

String

Y

roundId

Round Id that identify for generate report

String

Y

categories

Type of game that player was play

String

Y

turnover

Turnover Amount of this round

Number

Y

bet

Amount that Player bet

Number

Y

winlose

Amount that Player win

Number

Y

timestamp

Timestamp of this transaction

String

Y

Response Example

{
    "status": {
        "code": 0,
        "message": "Success"
    },
    "data": {
        "pageNumber": 1,
        "report": [
    {
        "username": "username",
        "gameName": "SOLAR",
        "gameId": "SOLAR",
        "roundId": "xxxxxxxxx",
        "categories": "slot",
        "winlose": -5000,
        "turnover": 5000,
        "bet": -5000,
        "timestamp": "17-08-2020 20:40:24",
        },
    {
        "username": "username",
        "gameName": "GHOST HOUSE",
        "gameId": "GH",
        "roundId": "xxxxxxxxx",
        "categories": "slot",
        "winlose": 5000,
        "turnover": -5000,
        "bet": -5000,
        "timestamp": "17-08-2020 20:42:24",
        },
        ]
    }
}
PreviousTransfer API - Get Key TransferNextTransfer API - Get Report By Date

Last updated 2 years ago