The Bet Brothers
HomeNewsLinkedIn
  • The Bet Brothers APIS
    • 🧩Core Concepts
    • 🔁API Flow
  • OPERATOR API
    • 🔗Operator Integration Service
    • 🔑Protocol API
      • Create api-token
      • Revoke api-token
  • 🚀Game Launcher
    • Get Game Providers
    • Get Games
    • Launch Game in Demo Mode
    • Launch game in Real Mode
  • 💰Wallet API
    • Balance
    • Bet
    • Win
    • Refund
    • Rollback Win
  • ⚡Free Spin API
    • Add Free Spin
    • Cancel Free Spin
  • 🎮Game Insights
    • Get Game Bet Levels
    • Get Round Info
  • 📖Addendum
    • TBB Error Codes
    • Wallet Error Response
  • SUPPLIER API
    • 🔗Supplier Integration Service
    • 🔑Supplier Protocol API
    • 🚀Game Launcher
      • Launch Game in Demo Mode
      • Launch Game in Real Mode
  • 🎲Game Events
    • Balance
    • Bet
    • Win
    • Refund
  • 🎮Game Insights
    • Bet Levels
    • Round Info
  • ⚡Free Spin API
    • Add Free Spin
    • Cancel Free Spin
  • 📖Addendum
    • TBB Error Codes
Powered by GitBook
On this page
  1. Free Spin API

Cancel Free Spin

PreviousAdd Free SpinNextAddendum

Last updated 5 days ago

This endpoint allows The Bet Brothers platform to cancel an award assigned to a player on the supplier’s side.

⚡
post

Cancels free spin rounds that were previously granted to a player’s account.

Header parameters
X-REQUEST-SIGNstringRequired

HMAC-SHA256 signature of the request body, generated using the shared secret.

Body
provider_namestringRequired

Name of the supplier.

provider_idintegerRequired

Unique identifier of the supplier.

player_idstringRequired

Unique identifier of the player.

game_symbolstringRequired

Symbol of the game for which free spins are being canceled.

bonus_idintegerRequired

Identifier of the created free spin round on the supplier side.

brand_idintegerRequired

Unique identifier of the brand on The Bet Brothers platform.

Responses
200
Free spin round successfully canceled.
application/json
403
Forbidden – signature does not match.
application/json
post
POST /supplier_api/freespin/cancel HTTP/1.1
Host: 
X-REQUEST-SIGN: text
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "provider_name": "wazdan",
  "provider_id": 426,
  "player_id": "12",
  "game_symbol": "wazdan:426",
  "bonus_id": 54636,
  "brand_id": 100
}
{
  "status": "success"
}