Skip to main content
POST
/
v4
/
account
/
orders
/
create
curl --request POST \
  --url https://api.proxyscrape.com/v4/account/orders/create \
  --header 'Content-Type: application/json' \
  --header 'api-token: <api-key>' \
  --data '
{
  "type": "new_datacenter_shared",
  "country": "Belgium"
}
'
{
  "success": true,
  "data": "0bc1a40f-2a17-4c84-9b2b-f4b9d3e0b3a1"
}

Authorizations

api-token
string
header
required

API key. Create and manage keys at /v4/account/api-keys or in the dashboard.

Body

application/json
type
enum<string>
required

Product to purchase. Each type accepts a different set of product-specific fields — see the examples below.

Available options:
new_datacenter_shared,
new_residential,
new_residential_unlimited,
new_serp_api
country
string
required

Billing country (full name, e.g. "Belgium"). Determines VAT.

Example:

"Belgium"

coupon_code
string

Optional coupon. Discount applies before any per-account API-ordering percentage (coupon first, then percentage on the post-coupon price). Coupons cannot be applied to wallet top-ups.

Example:

"WELCOME10"

fname
string

Override the first name from the authenticated account.

lname
string

Override the last name from the authenticated account.

Response

Order created and paid from the wallet. For wallet-credit orders the data field is the bare order ID string.

success
boolean
Example:

true

data

Order ID (returned for wallet-credit orders).

Example:

"0bc1a40f-2a17-4c84-9b2b-f4b9d3e0b3a1"