Get bet history by bet ID

GET /bet/notification/{id}/

Get bet history of a notification/bet by its ID.

Path Parameters

Parameter
Type
Required
Description

id

string

Yes

Bet/notification ID

Response

Success Response (200)

Returns detailed bet history for the specified notification:

{
  "is_bet_group": "number",
  "bot_logs": [
    {
      "id": "integer",
      "log": "string"
    }
  ],
  "logs": [
    {
      "id": "integer", 
      "log": "string"
    }
  ],
  "session_info": [
    {
      "bookie": "string",
      "display_name": "string",
      "odds": "number",
      "market": "string",
      "runner": "string",
      "amount": "number",
      "bonus": "string",
      "bot_id": "string"
    }
  ],
  "bets": [
    {
      "id": "integer",
      "transaction_min_created_at": "string(date-time)",
      "display_name": "string", 
      "amount": "number",
      "current_odds": "number",
      "created_at": "string(date-time)",
      "meeting_date": "string",
      "market": "string",
      "submit_time": "string(date-time)",
      "result_time": "string(date-time)",
      "submit_result": "string",
      "submit_error": "string",
      "profit": "number",
      "used_boost": "boolean",
      "used_spg": "boolean", 
      "used_bonus": "boolean",
      "transaction_id": "string",
      "bot_id": "string",
      "is_deleted": "boolean",
      "notified": "boolean",
      "reporting_usage": "number",
      "sports": "string",
      "profit_updated_by": "string",
      "profit_updated_at": "string(date-time)",
      "settled_at": "string",
      "transaction_result": "string",
      "status": "string",
      "user_notes": "string",
      "label": "string",
      "owner": "string",
      "bookie": "string",
      "notification": "object"
    }
  ],
  "average_deduction_percentage": "string"
}

Response Fields

Field
Type
Description

is_bet_group

number

Indicates if the notification is for a bet group

bot_logs

array

Bot notification logs

logs

array

Notification logs

session_info

array

Bookmaker sessions associated with the notification

bets

array

List of bet history objects

average_deduction_percentage

string

Average deduction percentage of the bets

Example

curl -X GET "https://betmatic.app/api/bet/notification/123/" \
  -H "Authorization: Token your_token"

Error Responses

  • 401 Invalid credentials - Authentication token is invalid or missing

  • 500 Internal server error - Server encountered an error processing the request

Authentication

This endpoint requires authentication. Include your token in the Authorization header:

Authorization: Token your_token

Response Schema

Status Code 200

Name
Type
Description

id

integer

Bet History Id used in this system

display_name

string

name of session which placed bet

amount

integer

actual amount that placed, this can be different from notification amount.

current_odds

string

odds that actually applied

created_at

string(date-time)

Time when History is created

market

string

finally placed market

submit_time

string or null

bet slip submit clicked time

result_time

string or null

bet slip submit result time

submit_result

string

result of bet Success or Error or In Review

submit_error

string

If success Accepted, else error string from the bookie

profit

integer

profit obtained from right bet

used_boost

boolean

if this bet is boosted one

used_spg

boolean

if spg is used

used_bonus

boolean

if bonus money is used

transaction_id

integer

to be used to update the accepted amount and odds later

bot_id

string

Id of bot notification sent to

is_deleted

boolean

if bet history is deleted

notified

boolean

if this bet is notified via socket

reported_usage

integer

reported turnover of this bet

sports

string

Type of Sport

owner

integer

users id who placed this bet

bookie

integer

bookie id on whom bet is placed

notification

integer

notification id used in system

Last updated