Place a wallet-paid order
Place a headless, wallet-paid order. The server forces pay_with_credit=1 and no_redirect=1 internally, so the order is debited from your wallet balance with no gateway redirect.
email, fname, and lname are derived from the authenticated identity. You can omit them, or pass them explicitly to override.
Permission: account:api_ordering:write (admin-grant-only — off by default for every account). Accepts api-token or JWT Bearer auth. The wallet balance must cover the order total at the moment the call lands.
Authorizations
API key. Create and manage keys at /v4/account/api-keys or in the dashboard.
Body
Product to purchase. Each type accepts a different set of product-specific fields — see the examples below.
new_datacenter_shared, new_residential, new_residential_unlimited, new_serp_api Billing country (full name, e.g. "Belgium"). Determines VAT.
"Belgium"
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.
"WELCOME10"
Override the first name from the authenticated account.
Override the last name from the authenticated account.