> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.wuzzlo.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.wuzzlo.com/_mcp/server.

# Get settlement details for one transaction

POST /api/operator/get-bet-info
Content-Type: application/json

Operator to Wuzzlo. Reconcile one transaction. Sign the exact JSON body with the operator private key. Send operatorId and transactionId. resultStatus is OPEN, WON, or LOST.

Reference: https://docs.wuzzlo.com/wuzzlo/operator-to-wuzzlo/get-settlement-details-for-one-transaction

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/operator/get-bet-info:
    post:
      operationId: getSettlementDetailsForOneTransaction
      summary: Get settlement details for one transaction
      description: >-
        Operator to Wuzzlo. Reconcile one transaction. Sign the exact JSON body
        with the operator private key. Send operatorId and transactionId.
        resultStatus is OPEN, WON, or LOST.
      tags:
        - operatorToWuzzlo
      parameters:
        - name: Signature
          in: header
          description: >-
            Operator-to-Wuzzlo: Base64 RSA-SHA256 PKCS#1 v1.5 signature of the
            exact UTF-8 JSON body, created with the operator private key.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Query response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBetInfoResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetBetInfoRequest'
components:
  schemas:
    GetBetInfoRequest:
      oneOf:
        - description: Any type
        - description: Any type
      title: GetBetInfoRequest
    GetBetInfoData:
      type: object
      properties:
        operatorId:
          type: string
        transactionId:
          type: string
        roundId:
          type: string
        gameId:
          type: string
        userId:
          type: string
        betId:
          type: string
        betAmount:
          type: number
          format: double
        resultAmount:
          type: number
          format: double
        resultStatus:
          type: string
        isSettled:
          type: boolean
        placeTransactionId:
          type: string
        resultTransactionId:
          type:
            - string
            - 'null'
        placedAtUtc:
          type: string
          format: date-time
      required:
        - operatorId
        - transactionId
        - roundId
        - gameId
        - userId
        - betId
        - betAmount
        - resultAmount
        - resultStatus
        - isSettled
        - placeTransactionId
        - placedAtUtc
      title: GetBetInfoData
    GetBetInfoResponse:
      type: object
      properties:
        statusCode:
          type: string
        message:
          type: string
        data:
          $ref: '#/components/schemas/GetBetInfoData'
      required:
        - statusCode
        - message
      title: GetBetInfoResponse
  securitySchemes:
    OperatorSignature:
      type: apiKey
      in: header
      name: Signature
      description: >-
        Operator-to-Wuzzlo: Base64 RSA-SHA256 PKCS#1 v1.5 signature of the exact
        UTF-8 JSON body, created with the operator private key.

```

## Examples

### Settled win



**Request**

```json
undefined
```

**Response**

```json
{
  "statusCode": "RS_OK",
  "message": "Success",
  "data": {
    "operatorId": "tesla",
    "transactionId": "bet-transaction-id",
    "roundId": "round-20260714-001",
    "gameId": "9001",
    "userId": "1001",
    "betId": "bet-001",
    "betAmount": 500,
    "resultAmount": 1200,
    "resultStatus": "WON",
    "isSettled": true,
    "placeTransactionId": "bet-transaction-id",
    "placedAtUtc": "2026-07-14T08:15:00Z",
    "resultTransactionId": "result-transaction-id"
  }
}
```

**SDK Code**

```python Settled win
import requests

url = "https://api.example.com/api/operator/get-bet-info"

headers = {
    "Signature": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript Settled win
const url = 'https://api.example.com/api/operator/get-bet-info';
const options = {
  method: 'POST',
  headers: {Signature: '<apiKey>', 'Content-Type': 'application/json'},
  body: undefined
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Settled win
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/api/operator/get-bet-info"

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("Signature", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Settled win
require 'uri'
require 'net/http'

url = URI("https://api.example.com/api/operator/get-bet-info")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Signature"] = '<apiKey>'
request["Content-Type"] = 'application/json'

response = http.request(request)
puts response.read_body
```

```java Settled win
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.example.com/api/operator/get-bet-info")
  .header("Signature", "<apiKey>")
  .header("Content-Type", "application/json")
  .asString();
```

```php Settled win
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.example.com/api/operator/get-bet-info', [
  'headers' => [
    'Content-Type' => 'application/json',
    'Signature' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Settled win
using RestSharp;

var client = new RestClient("https://api.example.com/api/operator/get-bet-info");
var request = new RestRequest(Method.POST);
request.AddHeader("Signature", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift Settled win
import Foundation

let headers = [
  "Signature": "<apiKey>",
  "Content-Type": "application/json"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/api/operator/get-bet-info")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Open bet



**Request**

```json
undefined
```

**Response**

```json
{
  "statusCode": "RS_OK",
  "message": "Success",
  "data": {
    "operatorId": "tesla",
    "transactionId": "open-bet-transaction-id",
    "roundId": "round-20260714-002",
    "gameId": "9001",
    "userId": "1001",
    "betId": "bet-002",
    "betAmount": 100,
    "resultAmount": 0,
    "resultStatus": "OPEN",
    "isSettled": false,
    "placeTransactionId": "open-bet-transaction-id",
    "placedAtUtc": "2026-07-14T09:00:00Z",
    "resultTransactionId": null
  }
}
```

**SDK Code**

```python Open bet
import requests

url = "https://api.example.com/api/operator/get-bet-info"

headers = {
    "Signature": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript Open bet
const url = 'https://api.example.com/api/operator/get-bet-info';
const options = {
  method: 'POST',
  headers: {Signature: '<apiKey>', 'Content-Type': 'application/json'},
  body: undefined
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Open bet
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/api/operator/get-bet-info"

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("Signature", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Open bet
require 'uri'
require 'net/http'

url = URI("https://api.example.com/api/operator/get-bet-info")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Signature"] = '<apiKey>'
request["Content-Type"] = 'application/json'

response = http.request(request)
puts response.read_body
```

```java Open bet
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.example.com/api/operator/get-bet-info")
  .header("Signature", "<apiKey>")
  .header("Content-Type", "application/json")
  .asString();
```

```php Open bet
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.example.com/api/operator/get-bet-info', [
  'headers' => [
    'Content-Type' => 'application/json',
    'Signature' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Open bet
using RestSharp;

var client = new RestClient("https://api.example.com/api/operator/get-bet-info");
var request = new RestRequest(Method.POST);
request.AddHeader("Signature", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift Open bet
import Foundation

let headers = [
  "Signature": "<apiKey>",
  "Content-Type": "application/json"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/api/operator/get-bet-info")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### transaction_id missing



**Request**

```json
undefined
```

**Response**

```json
{
  "statusCode": "RS_ERROR_INVALID_REQUEST",
  "message": "transaction_id is required"
}
```

**SDK Code**

```python transaction_id missing
import requests

url = "https://api.example.com/api/operator/get-bet-info"

headers = {
    "Signature": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript transaction_id missing
const url = 'https://api.example.com/api/operator/get-bet-info';
const options = {
  method: 'POST',
  headers: {Signature: '<apiKey>', 'Content-Type': 'application/json'},
  body: undefined
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go transaction_id missing
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/api/operator/get-bet-info"

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("Signature", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby transaction_id missing
require 'uri'
require 'net/http'

url = URI("https://api.example.com/api/operator/get-bet-info")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Signature"] = '<apiKey>'
request["Content-Type"] = 'application/json'

response = http.request(request)
puts response.read_body
```

```java transaction_id missing
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.example.com/api/operator/get-bet-info")
  .header("Signature", "<apiKey>")
  .header("Content-Type", "application/json")
  .asString();
```

```php transaction_id missing
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.example.com/api/operator/get-bet-info', [
  'headers' => [
    'Content-Type' => 'application/json',
    'Signature' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp transaction_id missing
using RestSharp;

var client = new RestClient("https://api.example.com/api/operator/get-bet-info");
var request = new RestRequest(Method.POST);
request.AddHeader("Signature", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift transaction_id missing
import Foundation

let headers = [
  "Signature": "<apiKey>",
  "Content-Type": "application/json"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/api/operator/get-bet-info")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Transaction not found



**Request**

```json
undefined
```

**Response**

```json
{
  "statusCode": "RS_ERROR_TRANSACTION_INVALID",
  "message": "Transaction not found"
}
```

**SDK Code**

```python Transaction not found
import requests

url = "https://api.example.com/api/operator/get-bet-info"

headers = {
    "Signature": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript Transaction not found
const url = 'https://api.example.com/api/operator/get-bet-info';
const options = {
  method: 'POST',
  headers: {Signature: '<apiKey>', 'Content-Type': 'application/json'},
  body: undefined
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Transaction not found
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/api/operator/get-bet-info"

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("Signature", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Transaction not found
require 'uri'
require 'net/http'

url = URI("https://api.example.com/api/operator/get-bet-info")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Signature"] = '<apiKey>'
request["Content-Type"] = 'application/json'

response = http.request(request)
puts response.read_body
```

```java Transaction not found
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.example.com/api/operator/get-bet-info")
  .header("Signature", "<apiKey>")
  .header("Content-Type", "application/json")
  .asString();
```

```php Transaction not found
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.example.com/api/operator/get-bet-info', [
  'headers' => [
    'Content-Type' => 'application/json',
    'Signature' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Transaction not found
using RestSharp;

var client = new RestClient("https://api.example.com/api/operator/get-bet-info");
var request = new RestRequest(Method.POST);
request.AddHeader("Signature", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift Transaction not found
import Foundation

let headers = [
  "Signature": "<apiKey>",
  "Content-Type": "application/json"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/api/operator/get-bet-info")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### OperatorId invalid



**Request**

```json
undefined
```

**Response**

```json
{
  "statusCode": "RS_ERROR_INVALID_OPERATOR",
  "message": "Invalid Operator"
}
```

**SDK Code**

```python OperatorId invalid
import requests

url = "https://api.example.com/api/operator/get-bet-info"

headers = {
    "Signature": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript OperatorId invalid
const url = 'https://api.example.com/api/operator/get-bet-info';
const options = {
  method: 'POST',
  headers: {Signature: '<apiKey>', 'Content-Type': 'application/json'},
  body: undefined
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go OperatorId invalid
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/api/operator/get-bet-info"

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("Signature", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby OperatorId invalid
require 'uri'
require 'net/http'

url = URI("https://api.example.com/api/operator/get-bet-info")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Signature"] = '<apiKey>'
request["Content-Type"] = 'application/json'

response = http.request(request)
puts response.read_body
```

```java OperatorId invalid
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.example.com/api/operator/get-bet-info")
  .header("Signature", "<apiKey>")
  .header("Content-Type", "application/json")
  .asString();
```

```php OperatorId invalid
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.example.com/api/operator/get-bet-info', [
  'headers' => [
    'Content-Type' => 'application/json',
    'Signature' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp OperatorId invalid
using RestSharp;

var client = new RestClient("https://api.example.com/api/operator/get-bet-info");
var request = new RestRequest(Method.POST);
request.AddHeader("Signature", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
IRestResponse response = client.Execute(request);
```

```swift OperatorId invalid
import Foundation

let headers = [
  "Signature": "<apiKey>",
  "Content-Type": "application/json"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/api/operator/get-bet-info")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Camel-case transactionId



**Request**

```json
{
  "operatorId": "tesla",
  "transactionId": "bet-transaction-id"
}
```

**Response**

```json
{
  "statusCode": "RS_OK",
  "message": "Success",
  "data": {
    "operatorId": "tesla",
    "transactionId": "bet-transaction-id",
    "roundId": "round-20260714-001",
    "gameId": "9001",
    "userId": "1001",
    "betId": "bet-001",
    "betAmount": 500,
    "resultAmount": 1200,
    "resultStatus": "WON",
    "isSettled": true,
    "placeTransactionId": "bet-transaction-id",
    "placedAtUtc": "2026-07-14T08:15:00Z",
    "resultTransactionId": "result-transaction-id"
  }
}
```

**SDK Code**

```python Camel-case transactionId
import requests

url = "https://api.example.com/api/operator/get-bet-info"

payload = {
    "operatorId": "tesla",
    "transactionId": "bet-transaction-id"
}
headers = {
    "Signature": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Camel-case transactionId
const url = 'https://api.example.com/api/operator/get-bet-info';
const options = {
  method: 'POST',
  headers: {Signature: '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"operatorId":"tesla","transactionId":"bet-transaction-id"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Camel-case transactionId
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/api/operator/get-bet-info"

	payload := strings.NewReader("{\n  \"operatorId\": \"tesla\",\n  \"transactionId\": \"bet-transaction-id\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Signature", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Camel-case transactionId
require 'uri'
require 'net/http'

url = URI("https://api.example.com/api/operator/get-bet-info")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Signature"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"operatorId\": \"tesla\",\n  \"transactionId\": \"bet-transaction-id\"\n}"

response = http.request(request)
puts response.read_body
```

```java Camel-case transactionId
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.example.com/api/operator/get-bet-info")
  .header("Signature", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"operatorId\": \"tesla\",\n  \"transactionId\": \"bet-transaction-id\"\n}")
  .asString();
```

```php Camel-case transactionId
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.example.com/api/operator/get-bet-info', [
  'body' => '{
  "operatorId": "tesla",
  "transactionId": "bet-transaction-id"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'Signature' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Camel-case transactionId
using RestSharp;

var client = new RestClient("https://api.example.com/api/operator/get-bet-info");
var request = new RestRequest(Method.POST);
request.AddHeader("Signature", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"operatorId\": \"tesla\",\n  \"transactionId\": \"bet-transaction-id\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Camel-case transactionId
import Foundation

let headers = [
  "Signature": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "operatorId": "tesla",
  "transactionId": "bet-transaction-id"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/api/operator/get-bet-info")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Snake-case transaction_id



**Request**

```json
{
  "operatorId": "tesla",
  "transaction_id": "bet-transaction-id"
}
```

**Response**

```json
{
  "statusCode": "RS_OK",
  "message": "Success",
  "data": {
    "operatorId": "tesla",
    "transactionId": "bet-transaction-id",
    "roundId": "round-20260714-001",
    "gameId": "9001",
    "userId": "1001",
    "betId": "bet-001",
    "betAmount": 500,
    "resultAmount": 1200,
    "resultStatus": "WON",
    "isSettled": true,
    "placeTransactionId": "bet-transaction-id",
    "placedAtUtc": "2026-07-14T08:15:00Z",
    "resultTransactionId": "result-transaction-id"
  }
}
```

**SDK Code**

```python Snake-case transaction_id
import requests

url = "https://api.example.com/api/operator/get-bet-info"

payload = {
    "operatorId": "tesla",
    "transaction_id": "bet-transaction-id"
}
headers = {
    "Signature": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Snake-case transaction_id
const url = 'https://api.example.com/api/operator/get-bet-info';
const options = {
  method: 'POST',
  headers: {Signature: '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"operatorId":"tesla","transaction_id":"bet-transaction-id"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Snake-case transaction_id
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/api/operator/get-bet-info"

	payload := strings.NewReader("{\n  \"operatorId\": \"tesla\",\n  \"transaction_id\": \"bet-transaction-id\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Signature", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Snake-case transaction_id
require 'uri'
require 'net/http'

url = URI("https://api.example.com/api/operator/get-bet-info")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Signature"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"operatorId\": \"tesla\",\n  \"transaction_id\": \"bet-transaction-id\"\n}"

response = http.request(request)
puts response.read_body
```

```java Snake-case transaction_id
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.example.com/api/operator/get-bet-info")
  .header("Signature", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"operatorId\": \"tesla\",\n  \"transaction_id\": \"bet-transaction-id\"\n}")
  .asString();
```

```php Snake-case transaction_id
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.example.com/api/operator/get-bet-info', [
  'body' => '{
  "operatorId": "tesla",
  "transaction_id": "bet-transaction-id"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'Signature' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Snake-case transaction_id
using RestSharp;

var client = new RestClient("https://api.example.com/api/operator/get-bet-info");
var request = new RestRequest(Method.POST);
request.AddHeader("Signature", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"operatorId\": \"tesla\",\n  \"transaction_id\": \"bet-transaction-id\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Snake-case transaction_id
import Foundation

let headers = [
  "Signature": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "operatorId": "tesla",
  "transaction_id": "bet-transaction-id"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/api/operator/get-bet-info")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```