User Bet Record

Used by merchants to query bet records for players and games.

OMG server time zone: UTC+0. Integrators should be mindful of time zone calculations when processing data statistics.

GetGameRecordList

This API is provided by the OMG platform and is called by the integrator.

POST {OMG_BACKEND_URL}/api/v1/merchant/outer/record/GetGameRecordList?trace_id=your_trace_id

{OMG_BACKEND_URL} is the API configuration interface in the merchant backend where the domain for backend API calls can be obtained.

Headers

Name
Value

Content-Type

"application/json; charset=utf-8"

sign

"your_sign_string"

Please refer to the Signature Algorithm and Example page for details on the signature algorithm.

Body

Name
Type
Description

app_id

string

The unique identifier for the merchant, available in the merchant backend.

uname

stringoptional

User ID, matches the uname field used for game player verification.

game_id

stringoptional

Game ID

page

integer

Current Page

size

integer

Page Size

start_time

integer

Query Start Time: Timestamp in UTC+0

end_time

integer

Query End Time: Timestamp in UTC+0

If start_time and end_time need to be obtained through date conversion, use dates in the UTC+0 time zone to convert to timestamps (in seconds).

Integrator Request Parameter Example

OMG Platform Response Parameter Example

Response Example Parameter Descriptions

Name
Required
Type
Description

code

Yes

integer

Status Code

msg

Yes

string

Message

total

Yes

integer

Record Count

account

Yes

string

User Nickname

account_id

Yes

string

User ID

game_id

Yes

string

Game ID

round_id

Yes

integer

Session ID

enter_money

Yes

string (decimal)

The balance before user bet

after_settlement_money

Yes

string (decimal)

The balance after user bet

bet

Yes

string (decimal)

Bet Amount

win

Yes

string (decimal)

Payout Amount

create_time

Yes

integer

User Bet Timestamp

id

Yes

integer

Record ID

id_str

Yes

string (decima

Record ID(String)

parent_id

Yes

integer

Parent Game ID

parent_id_str

Yes

string (decima

Parent Game ID(String)

small_game_type

Yes

integer

0.Normal 1.Match 2.Free Spins 3.Respin 4.High Multiplier

fb

Yes

integer

Buy Free Spins(0 YES, 1 NO)

platform

Yes

integer

1:spribe 2:PG 3:JILI 4:PP_MAX (All Currency) 5:OMG 6:Mini Game 8:hacksaw 9:PP (Brazilian Currency)

To display the player's final win/loss, use the formula: Win - Bet = Player's Win/Loss. Example: if Bet = 50 and Win = 10, then the player's win/loss is: 10 - 50 = -40

Special Note

  • For performance reasons, when using the page and size parameters for paging, we do not return the total number of pages. We need to loop until there is no data, and the maximum number of queries at one time is 1000.

Error Code

For more error codes, please refer to the Special Error Code page description.

Last updated