/v1/operator/create

Create a new sub-operator under the authenticated operator

POST/v1/operator/create

Allows an authenticated operator to create a new sub-operator under their hierarchy. The new operator will inherit certain properties from the parent operator, and the parent operator must have sufficient level to create sub-operators. Once the sub-operator is created, you will be able to log in to our back office with your sub-operator's id and password but the new account should be approved by admin before log in.

Headers

Name
Value

Authorization

Bearer <API_TOKEN>

Content-Type

application/json

Accept

application/json

Body

{
  "operatorId": "sub_operator_1",
  "password": "##StrongPassword@@",
  "name": "Sub Operator 1",
  "currency": [
    "USD"
  ],
  "ggrRate": 5,
  "level": "operator",
  "parentId": "parent_operator_1",
  "callbackURL": "https://example.com/api/callback",
  "allowedIPs": [
    "1.1.1.1"
  ]
}
Field
Data Type
Description
Mandatory

operatorId

string

Unique identifier for the operator or sub-operator

Required

password

string

Login password for the operator account (must meet security requirements)

Required

name

string

Display name of the operator

Required

currency

array<string>

List of supported currency codes (ISO 4217, e.g. USD)

Optional

ggrRate

number

Gross Gaming Revenue (GGR) percentage applied to the operator (0%~100%)

Required

level

string

Operator hierarchy level (e.g. operator, agent)

Required

parentId

string

Parent operator ID in the operator hierarchy

Optional

callbackURL

string

Callback endpoint for transaction and game event notifications

Optional

allowedIPs

array<string>

Whitelisted IP addresses allowed to access the API

Optional

Response

Field
Data Type
Description

success

boolean

Indicates whether the request was successfully processed

message

string

Human-readable status message

data.id

string

Unique identifier of the newly created operator

data.token

string

Authentication token for the operator (must be kept confidential)

Last updated