Skip to main content
POST
/
api
/
v2
/
secUser
/
addPlan
Assign plan to sec-user
curl --request POST \
  --url https://api.okeyproxy.com/ipglobal-api/api/v2/secUser/addPlan \
  --header 'Content-Type: application/json' \
  --data '
{
  "secUsername": "<string>",
  "proxyType": 123,
  "traffic": 123,
  "apiKey": "<string>"
}
'
{
  "deductedAmount": 8,
  "remainingBalance": 742.09
}

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
deductedAmount
number
required

Deducted amount from Agent wallet

remainingBalance
number
required

Remaining balance in Agent wallet