Client Development
Register develop account for sandbox
Body
passwordstringRequiredExample:
Account password
Your_passw0rdResponses
200
Successful response
application/json
successbooleanOptional
Success status (true if successful, false if an error occurred).
messagestringOptional
Response message.
400
Bad request
application/json
post/client/v1/dev/register
POST /client/v1/dev/register HTTP/1.1
Host: sandbox.9proxy.com
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"email": "[email protected]",
"password": "Your_passw0rd"
}{
"success": true,
"message": "text",
"result": {
"id": 1,
"email": "text",
"username": "text",
"email_verified": true,
"_2fa_enabled": true,
"wallet_balance": 1
}
}Generate api key for account in sandbox
Body
passwordstringRequiredExample:
Account password
Your_passw0rdResponses
200
Successful response
application/json
successbooleanOptional
Success status (true if successful, false if an error occurred).
messagestringOptional
Response message.
400
Bad request
application/json
post/client/v1/dev/refresh-api-key
POST /client/v1/dev/refresh-api-key HTTP/1.1
Host: sandbox.9proxy.com
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"email": "[email protected]",
"password": "Your_passw0rd"
}{
"success": true,
"message": "text",
"result": {
"api_key": "text"
}
}Set balance for account
Authorizations
api-keystringRequired
Body
plan_idintegerRequiredExample:
1: ip data
1amountintegerRequiredExample:
amount ip of account
888Responses
200
Successful response
application/json
successbooleanOptional
Success status (true if successful, false if an error occurred).
messagestringOptional
Response message.
400
Bad request
application/json
403
Authentication error
application/json
post/client/v1/dev/set-balance
POST /client/v1/dev/set-balance HTTP/1.1
Host: sandbox.9proxy.com
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"plan_id": 1,
"amount": 888
}{
"success": true,
"message": "text",
"result": {
"amount": 1
}
}Last updated
Was this helpful?