Get BetLog Reply
Retrieve the game replay URL for a specified bet.
API Information
- URL:
POST /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==..."
}
| Field | Type | Required | Description |
|---|---|---|---|
username | string | Yes | Player Account |
betId | string | Yes | Transaction id |
gameCode | string | Yes | Game Code |
lang | string | No | The 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"
}
| Field | Type | Description |
|---|---|---|
detailUrl | string | Bet Log Detail URL |
detailInfo | string | Additional Description |
logUUID | string | Request tracking ID for troubleshooting and log queries |
Error Response
When the request fails, the corresponding error code will be returned.
Error Codes
| Code | Description | Handling Suggestion |
|---|---|---|
| 8 | The User is not exist | Member does not exist. Please create the member first. |
| 11 | Parameters error | Ensure that all request parameters are complete and correctly formatted |
| 14 | The BetId is not exist | BetLog does not exist. |
| 81 | Branch config not found | Branch 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
- Replay Retention Period: Only replays from the past 30 days are retained
- URL Validity: The replay URL is typically valid for up to 1 hour