Game Providers Query
Get the list of available game providers authorized and enabled for the current Agent and their supported currencies.
API Information
| Property | Value |
|---|---|
| Path | POST /papi/v1/game/providers |
| Authentication | Agent Token (Bearer) |
| Content-Type | application/x-www-form-urlencoded |
Headers
| Header | Value | Required |
|---|---|---|
Authorization | Bearer {agent_token} | ✅ Required |
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
currency | string | No | Currency code, filters providers supporting this currency (e.g. IDR / MYR) |
provider | string | No | Provider code, filters for a specific game provider (e.g. GSC / SA / WM) |
Request Example
bash
curl -X POST https://api.example.com/papi/v1/game/providers \
-H "Authorization: Bearer {agent_token}" \
-d "currency=IDR"Response Fields
Data[Item] Structure
| Field | Type | Description |
|---|---|---|
provider_code | string | Provider code, uppercase (can be passed as provider in launch game or game list APIs) |
currencies | array[string] | List of enabled currencies for this provider under this agent |
Response Example
json
{
"code": 0,
"data": [
{
"provider_code": "SA",
"currencies": [
"IDR",
"MYR",
"CNY"
]
},
{
"provider_code": "GSC",
"currencies": [
"IDR",
"MYR",
"CNY",
"EUR",
"THB"
]
}
],
"msg": "获取成功"
}