Seamless
Seamless Wallet API
Functions
Action 12: Activity Reward

Action 12: Activity Reward

Function Description

  • JDB will call api when reward amount, inform customer to payout reward.
  • Customers should update player's balance base on the request, then feedback the player remaining balance.
  • If receive request and transferId has been payout reward, please return 0000 as the status.
  • AVIATRIX Arcade games requires implementation of Activity Reward before it can be used

Request Parameter

ParameterFormatDescription
actionInteger12
tsLongCurrent system time
transferIdLongTransfer ID can not be referred to game history
activityNoString(150)activity number. The system is scheduled to update the field to String(150) in the test environment on May 15, 2025, and will be gradually rolled out to the production environment on May 20, 2025
activityNameString(45)activity name
activityDateString(10)activity date (dd-MM-yyyy)
uidString(50)Player ID
amountDoubleAmount that should be transferred to player balance.
It will always be positive.
currencyString(10)Please refer to: Currency Code

Request Example

{
  "action": 12,
  "ts": 1664522589182,
  "transferId": 251919,
  "activityNo": 1565661550166,
  "activityName": "累计龙虎榜",
  "activityDate": "08-12-2022",
  "uid": "testpl",
  "amount": 5000.0,
  "currency": "RB"
}

Response Parameter

ParameterFormatDescription
statusString(4)Success: 0000
If receive request and transferId has been payout reward, please return 0000 as the status.

It would be considered as failure if the status is not 0000, and you can describe in err_text.
balanceDoubleBalance
err_textString(255)Error message

Response Example

{
  "status": "0000",
  "balance": 12345.67,
  "err_text": ""
}