curl https://flameproxies.com/api/customer/orders \
-H "Authorization: Bearer fp_live_xxx" \
-H "Content-Type: application/json" \
-d '{"product":"residential","quantity":5}'
import requests
resp = requests.post(
"https://flameproxies.com/api/customer/orders",
headers={"Authorization": "Bearer fp_live_xxx"},
json={"product": "residential", "quantity": 5},
)
order = resp.json()["order"]
print(order["package_id"], order["total_amount"])
const resp = await fetch("https://flameproxies.com/api/customer/orders", {
method: "POST",
headers: {
Authorization: "Bearer fp_live_xxx",
"Content-Type": "application/json",
},
body: JSON.stringify({ product: "residential", quantity: 5 }),
});
const { order } = await resp.json();
console.log(order.package_id, order.total_amount);
{
"order": {
"id": 987,
"status": "paid",
"action": "create",
"package_id": 1234,
"internal_id": "70437286-78a1-427c-b9fd-c299baadf3a9",
"subuser_id": "56789",
"product": "residential",
"quantity": 5,
"gb_credit_used": 1,
"billable_quantity": 4,
"total_amount": 6.25,
"created_at": "2026-05-13T12:00:00.000Z"
}
}
Orders
Create an order
Creates a new residential or premium residential package, paid from your GB credits and wallet balance.
POST
/
api
/
customer
/
orders
curl https://flameproxies.com/api/customer/orders \
-H "Authorization: Bearer fp_live_xxx" \
-H "Content-Type: application/json" \
-d '{"product":"residential","quantity":5}'
import requests
resp = requests.post(
"https://flameproxies.com/api/customer/orders",
headers={"Authorization": "Bearer fp_live_xxx"},
json={"product": "residential", "quantity": 5},
)
order = resp.json()["order"]
print(order["package_id"], order["total_amount"])
const resp = await fetch("https://flameproxies.com/api/customer/orders", {
method: "POST",
headers: {
Authorization: "Bearer fp_live_xxx",
"Content-Type": "application/json",
},
body: JSON.stringify({ product: "residential", quantity: 5 }),
});
const { order } = await resp.json();
console.log(order.package_id, order.total_amount);
{
"order": {
"id": 987,
"status": "paid",
"action": "create",
"package_id": 1234,
"internal_id": "70437286-78a1-427c-b9fd-c299baadf3a9",
"subuser_id": "56789",
"product": "residential",
"quantity": 5,
"gb_credit_used": 1,
"billable_quantity": 4,
"total_amount": 6.25,
"created_at": "2026-05-13T12:00:00.000Z"
}
}
Creates a new package and pays for it from your balance. The package’s sub-user is created immediately, and the response returns the new package’s identifiers. Use them to read its credentials or generate proxies right away.
Your reusable GB credits are consumed first, and your wallet balance is charged for the rest. Check both with get wallet balance before ordering.
To add bandwidth to a package you already have, use add data instead. Each order creates a new, separate package with its own credentials.
string
required
Product slug:
residential or premium_residential.number
required
Number of GB for the new package.
string
Optional region code for the package, for example
US.curl https://flameproxies.com/api/customer/orders \
-H "Authorization: Bearer fp_live_xxx" \
-H "Content-Type: application/json" \
-d '{"product":"residential","quantity":5}'
import requests
resp = requests.post(
"https://flameproxies.com/api/customer/orders",
headers={"Authorization": "Bearer fp_live_xxx"},
json={"product": "residential", "quantity": 5},
)
order = resp.json()["order"]
print(order["package_id"], order["total_amount"])
const resp = await fetch("https://flameproxies.com/api/customer/orders", {
method: "POST",
headers: {
Authorization: "Bearer fp_live_xxx",
"Content-Type": "application/json",
},
body: JSON.stringify({ product: "residential", quantity: 5 }),
});
const { order } = await resp.json();
console.log(order.package_id, order.total_amount);
{
"order": {
"id": 987,
"status": "paid",
"action": "create",
"package_id": 1234,
"internal_id": "70437286-78a1-427c-b9fd-c299baadf3a9",
"subuser_id": "56789",
"product": "residential",
"quantity": 5,
"gb_credit_used": 1,
"billable_quantity": 4,
"total_amount": 6.25,
"created_at": "2026-05-13T12:00:00.000Z"
}
}
Response
object
The new order.
Show order
Show order
number
Order ID.
string
Order status, for example
paid.string
create for new packages.number
Numeric ID of the new package.
string
UUID of the new package.
string
ID of the new package’s sub-user.
string
Product:
residential or premium_residential.number
GB on the new package.
number
GB paid for with GB credits.
number
GB charged to your wallet balance.
number
Amount charged to your wallet, in USD.
string
When the order was created, as an ISO 8601 timestamp.
