API Documentation
  • Introduction
  • Getting Started
  • Signature
  • Bet Card API
    • Calculator
      • Finance details
    • Jackpot
      • Get Jackpot Cards
      • Get Jackpot Card by code
      • Pick Jackpot Bets
    • Quicktip
      • Get Quicktip Cards
      • Get Quicktip Card by code
    • Smartbet
      • Get Smartbert cards
      • Get Smartbet Card by code
      • Generate a Smartbet
    • Quickbet
      • Get Quickbet Cards
      • Get Quickbet Card by code
    • Superbet
      • Get Superbet Cards
      • Get Superbet Card by code
  • Bet Engine API
    • Headers
    • Create ticket endpoint
      • Quicktip
      • Smartbet
      • Quickbet
      • Superbet
      • Jackpot
    • Reserve ticket endpoint
      • Quicktip
      • Smartbet
      • Quickbet
      • Superbet
      • Jackpot
    • Paid ticket endpoint
    • Get ticket endpoint
    • Get ticket list endpoint
    • Fields
    • Error codes
  • PAM Platform API
    • Headers
    • Signature
    • Ping
    • Identify
    • Create a ticket
    • Reserve the ticket
    • Update the ticket
    • Close the ticket
    • Refund the ticket
    • Win the ticket
    • Lose the ticket
    • Void the ticket
    • Discard the ticket
    • Rollback the ticket
  • SMS notifications
    • Headers
    • Signature
    • Notification types
      • otp
      • ticket_status
      • bet_result (not supported)
  • API Docs
    • [api /bc] Bet Card
    • [api /be] Bet Engine
Powered by GitBook
On this page
  1. SMS notifications
  2. Notification types

ticket_status

Request fields:

Attribute
Data Type
Description

ticket_id

string

Ticket identification number

status

string

Ticket Status. Can be one of: open, resulted

result

string

Ticket Result. Can be one of: pending, won, lost, void

Sample ticket_status request:

{
  "type": "ticket_status",
  "data": {
    "ticket_id": "66a62424b1770731244c1f3f",
    "status": "open",
    "result" : "pending"
  }
}

open status will be sent only for tickets which were initially reserved.

Response fields:

Attribute
Data Type
Description

message

string

Response message. It can be any text

Sample response (status=200) to ticket_status request:

{
  "message": "Notification received"
}
PreviousotpNextbet_result (not supported)

Last updated 7 months ago