Purchase a plan
To purchase a plan, you must have created a sub-user. You must then pass the type
of proxy plan you would like to purchase, along with the number of gigabytes.
You cannot purchase multiple of the same plan on the same sub-user. To learn about updating a specifc plan, head to Update a Plan
Authorizations
Path parameters
sub-user-idstringRequired
Body
typestring · enumOptionalPossible values:
quantitynumber · min: 0.01Optional
Responses
200
Successful response
application/json
400
Bad request
404
Sub user not found
500
Internal server error
post
POST /api/{sub-user-id}/purchase HTTP/1.1
Host: api.flashproxy.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"type": "NETNUT",
"quantity": 1
}
{
"success": true,
"data": {
"id": "text"
}
}
Last updated