Provider List

This is an API endpoint for retrieving a list of game providers assigned to an agent.

Endpoint

POST https://{API_ENDPOINT}

Request Body

{
    "method": "provider_list",
    "agent_code": "testAgent",
    "agent_token": "41f5cc794aef2b138c715cf25f767cc1"
}
Key
Type
Description

method

string

The method type ( provider_list)

agent_code

string

The agent's code

agent_token

string

The agent's authentication token

Success Response Example

{
  "status": 1,
  "msg": "SUCCESS",
  "providers": [
    {
      "code": "PRAGMATIC",
      "name": "Pragmatic Play",
      "status": 1
    }
  ]
}
Key
Type
Description

status

integer (32bit)

1 – Success, 0 – Failure

msg

string

Response message

providers

array

List of available providers

code

string

Provider code

name

string

Provider name

status

integer (32bit)

1 – Open, 0 – Maintenance


Failure Response Example

{
  "status": 0,
  "msg": "INTERNAL_ERROR"
}
Key
Type
Description

status

integer (32bit)

0 – Failure

msg

string

Error message

Last updated