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. PAM Platform API

Identify

Used to identify player using token generated by operator before.

In case of successful identification, PAM expects Response 200, otherwise return response with code 403 Request.

Request fields:

Attribute
Data Type
Description

operator

string

Name of the operator as registered on the system

token

string

Player identification token

Sample identify request:

{    
    "action": "identify",
    "data": {
        "operator": "operator-code", 
        "token": "partner-player-token"
    }
}

Response fields:

Attribute
Data Type
Description

player_id

string

Player identification number or code

lang

string

balance

integer

Available player balance. Should be in integer format (cents)

currency

string

feature_flags

object

Additional features

Sample identify response:

Response: 200
{
    "player_id": "1660986605374148608", 
    "lang": "en",
    "balance": 1000,
    "currency": "KES", 
    "feature_flags": {
        "flag_name1": true, 
        "flag_name2": false
    }
}

Response: 400
{
    "code": 101,
    "message": "User not found" 
}
PreviousPingNextCreate a ticket

Last updated 1 year ago

Language code in two letter format

Currency code in three letter format

ISO 639-1
ISO 4217