Skip to main content
POST
/
api
/
v2
/
secUser
/
addPlan
/
details
Assign plan with details
curl --request POST \
  --url https://api.okeyproxy.com/ipglobal-api/api/v2/secUser/addPlan/details \
  --header 'Content-Type: application/json' \
  --data '
{
  "secUsername": "<string>",
  "proxyType": 123,
  "traffic": 123,
  "apiKey": "<string>"
}
'
{
  "account": "798v509632",
  "password": "qli98bex",
  "planId": "20250101180018087",
  "proxyType": 1,
  "traffic": 1,
  "effectTime": "2025-01-01 18:00:18",
  "expireTime": "2025-01-01 18:00:18",
  "deductedAmount": 5,
  "remainingBalance": 870.69
}

Body

application/json
secUsername
string
required

Sec-user account. Letters and numbers only, up to 40 characters.

proxyType
integer
required

Rotating proxies type. 1 for Starter, 2 for Advanced, 3 for Premium.

traffic
number
required

Plan traffic (in GB)

apiKey
string
required

Agent API key used for authentication

Response

200 - application/json
account
string
required

Account for the corresponding proxy type

password
string
required

Password for the corresponding proxy type

planId
string
required

Plan ID

proxyType
integer
required

Rotating proxies type. 1 for Starter, 2 for Advanced, 3 for Premium.

traffic
number
required

Plan traffic (in GB)

effectTime
string
required

Effective time. Format: yyyy-MM-dd HH:mm:ss (UTC+8)

expireTime
string
required

Expiration time. Format: yyyy-MM-dd HH:mm:ss (UTC+8)

deductedAmount
number
required

Deducted amount from Agent wallet

remainingBalance
number
required

Remaining balance in Agent wallet