Skip to main content

Get BetLog Reply

Retrieve the game replay URL for a specified bet.

API Information

  • URLPOST /v2/betdetail/replay
  • Authentication:Bearer Token
  • Encryption:Requests are encrypted using AES-256-GCM; responses are returned as plaintext JSON

request

request Headers

POST /v2/betdetail/replay HTTP/1.1
Host: api.example.com
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
x-agentid: integratorNBTest04
x-timestamp: 1769746894501
x-nonce: 4ff08bc2a45c6b38068dbcd24296a25b
x-signature: c25f8d23704373e8776cce6d9b10f1fde091c34db80d60523c7e04ff30e54633

Request Parameters

Request Body Before Encryption

{
"username": "fortest01",
"betId": "17519072045833",
"gameCode": "VP_230001_1",
"lang": "en"
}

Encrypted Request Body

{
"cipherText": "G0ZMDELeJwx+7JcIfIFOLJjkSzANPu6krGM2uw==..."
}
FieldTypeRequiredDescription
usernamestringYesPlayer Account
betIdstringYesTransaction id
gameCodestringYesGame Code
langstringNoThe display language for this data currently supports EN only.

Response

Success Response

{
"code": 0,
"message": "No error.",
"data": {
"detailUrl": " https://stagweb.gjj8dy.com/public/s/ae9awmzszr",
"detailInfo": null
},
"logUUID": "08870dc2-1552-4cad-b3b3-343ed8114b61"
}
FieldTypeDescription
detailUrlstringBet Log Detail URL
detailInfostringAdditional Description
logUUIDstringRequest tracking ID for troubleshooting and log queries

Error Response

When the request fails, the corresponding error code will be returned.

Error Codes

CodeDescriptionHandling Suggestion
8The User is not existMember does not exist. Please create the member first.
11Parameters errorEnsure that all request parameters are complete and correctly formatted
14The BetId is not existBetLog does not exist.
81Branch config not foundBranch configuration not found. Please contact technical support.

Error Response Example

{
"code": 14,
"message": "The BetId is not exist",
"logUUID": "24cdc3b9-9fe8-44de-8391-a96863e46954"
}

Important Notes

  1. Replay Retention Period: Only replays from the past 30 days are retained
  2. URL Validity: The replay URL is typically valid for up to 1 hour