Skip to main content

Send Simple FreeSpin Operator Card

Send FREE SPIN cards to a designated Player. Note: FREE SPIN Card: Free Spin Card, Multiplier Free Spin Card (cardType 1, 2)

API Information

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

request

Request Headers

POST /v2/items/use HTTP/1.1
Host: api.example.com
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
x-agentid: integratorNBTest04
x-timestamp: 1769746894501
x-nonce: 56ffd5ecd8a3a4457863a0bd7c298fb2
x-signature: 904e97bee2589b93e9747eed0346c68b23d8ff8b568dabaf4b94a5e89093df67

Request Parameters

Decrypted Request

{
"cipherText": "G0ZMDELeJwx+7JcIfIFOLJjkSzANPu6krGM2uw==..."
}

Parameters Before Encryption

{
"username": "VPSysDevTest001",
"spinId": "SystemItemTestTrans150",
"gameCode": "VP_230001_1",
"round": 3,
"maxWinAmount": 10,
"itemBet": 2,
"multiple": 1
}
FieldTypeRequiredDescription
usernamestringYesPlayer Account
spinIdstringYesOperator Card Unique Identifier
gameCodestringYesGame Code
roundnumberYesNumber of Rounds
maxWinAmountnumberNoMax Win Amount
itemBetnumberNoOperator Card Bet Amount. Refer to BetList for details. If not filled, the minimum Bet will be used by default.
multiplenumberNoFree Spin Multiplier. Can be 1/2/3/5x. If not filled, 1x will be used by default.

Response

Success Response

{
"code": 0,
"message": "No error.",
"data": {
"itemId": "f2cb520579c8014452d6f521693a4aa8_VPItemTestTrans1042_ghjklhtombg"
},
"logUUID": "24cdc3b9-9fe8-44de-8391-a96863e46954"
}
FieldTypeDescription
codenumberResponse code, 0 indicates Success
messagestringResponse message
data.itemIdstringSystem Operator Card ID
logUUIDstringRequest tracking ID for troubleshooting and log queries

Error Response

Error Codes

CodeDescriptionHandling Suggestion
5Game is not foundGame does not exist, has been delisted, or does not support this currency. Please confirm if the gameCode is correct.
8The User is not existPlayer does not exist. Please create Player first.
78Operator card spinId was usedPlease change the spinId. If you have questions, contact Customer Support for assistance.
86Game is restrictedPlease refer to the Game List document or ask Customer Support.

Error Response Example

Operator Card Parameter Combination Error

{
"code": 7,
"message": "Internal server error",
"error": "{\"retStatus\":{\"StatusCode\":80013,\"StatusMsg\":\"RiskInfoError\",\"CheckCode\":0,\"SystemTime\":1760348424576}}",
"logUUID": "24cdc3b9-9fe8-44de-8391-a96863e46954"
}

Operator Card ID Duplicate Usage

{
"code": 78,
"message": "The spinID was used",
"logUUID": "24cdc3b9-9fe8-44de-8391-a96863e46954"
}

Important Notes

  1. spinId Uniqueness: Each spinId must be unique and cannot be reused.
  2. Immediate Effect: This API sends FREE SPIN cards with immediate effect.

Frequently Asked Questions

Q1: How to obtain the itemBet List in the sending parameters?

A: The full supported list can be queried via Get Operator Card Information. You can also provide any value, and our system will automatically select the closest and lower bet from that game's betList to send.

Q2: Does the Free Spin sent by this API have an expiration time?

A: After sending, if the Player has not logged in to the game to use it, it will automatically Settlement within 12 hours after sending.

Q3: Can the Free Spin sent by this API be canceled?

A: Yes, it can be canceled via the Cancel Operator Card API, but only before the Player has used it in the game. Once used, it cannot be canceled.

Q4: Will the Player be notified after automatic Settlement?

A: When the Player logs in to the game, a reward notification message will be displayed, but the animation will not be re-shown.