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

Purchase a plan for a sub user

post
Authorizations
Path parameters
sub-user-idstringRequired
Body
typestring · enumOptionalPossible values:
quantitynumber · min: 0.01Optional
Responses
200
Successful response
application/json
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