Skip to content

Models

SDK Reference

Models

Public DTOs, enums and generated types exposed by each SDK.

A

typeAddDataRequest2 fields
FieldTypeRequirementDescription
package_idstringRequiredPackage for which the caller owns a root order.
datanumberRequiredPositive integer bytes to add to the child's assigned quota. Does not reserve parent data; may exceed the parent's remaining pool.
typeAffiliate5 fields
FieldTypeRequirementDescription
idstringOptional—
emailstringRequired—
signup_ipstringOptionalIP address from which the user signed up. This field is optional and can be used for tracking purposes.
signup_countrystringOptionalCountry from which the user signed up. This field is optional and can be used for tracking purposes.
date_joinedstringOptional—
typeAffiliateReward8 fields
FieldTypeRequirementDescription
idstringOptional—
emailstringRequired—
statusRewardStatusEnumOptionalAfter changing invoice status to PAID, the invoice will be processed and user package created in case none exists. If you need to cancel the invoice, make sure to subtract data from the user package after changing the invoice status. Changing the status from PAID to any other will not affect the user package's data or proxies. * `pending` - Pending * `paid` - Paid * `review` - Review * `cancelled` - Cancelled
packagePackageShortRequired—
price_totalnumberRequired—
datanumberOptionalThe amount of data in bytes.
commission_amountnumberRequired—
createdstringRequired—
typeAffiliateStatsPoint4 fields
FieldTypeRequirementDescription
datestringOptional—
balancenumberOptional—
datanumberOptional—
countnumberOptional—
typeAffiliateStatsResponse1 fields
FieldTypeRequirementDescription
resultsAffiliateStatsPoint[]Required—
typeAPIKeyCreate5 fields
FieldTypeRequirementDescription
idstringOptional—
titlestringRequired—
keystringRequired—
allowed_ipsstring[]Optional—
createdstringRequired—
typeAPIKeyCreateRequest2 fields
FieldTypeRequirementDescription
idstringOptional—
allowed_ipsstring[]Optional—
typeAPIKeyList7 fields
FieldTypeRequirementDescription
idstringOptional—
titlestringRequiredDescriptive label that identifies the purpose or owner of this API key. Mobile App Dashboard Integration CI Pipeline
prefixstringRequired—
keystringOptionalThe API key value used for authentication. Leave blank to have it generated automatically on save. Store this value securely.
allowed_ipsstring[]Required—
createdstringRequired—
updatedstringRequired—

C

typeChangePasswordRequest3 fields
FieldTypeRequirementDescription
old_passwordstringRequired—
new_password1stringRequired—
new_password2stringRequired—
enumCheckoutStatusEnum0 fields

* `not_required` - Not required * `initializing` - Initializing * `ready` - Ready * `failed` - Failed

No configurable fields.

typeCity7 fields
FieldTypeRequirementDescription
idstringOptional—
codestringRequiredRaw city code as it appears in the source data. los_angeles paris
namestringRequiredEnglish display name of the city used across the admin and API responses.
countryLocationCountrySummaryRequired—
regionLocationRegionSummaryRequired—
ispsLocationCodeName[]Required—
asnsLocationCodeName[]RequiredThe asns field is always present and defaults to an empty array. Pass include_asns=true to include available autonomous system numbers. This option does not affect the standalone /locations/asn endpoint or the compact proxy-node response format.
enumCommissionTypeEnum0 fields

* `flexible` - Flexible * `percentage` - Percentage * `fixed` - Fixed

No configurable fields.

typeConnectionRecord4 fields
FieldTypeRequirementDescription
user_idstringRequired—
package_idstringRequired—
connectionsnumberRequired—
server_ipstringRequired—
typeConnectionsResponse4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringRequired—
previousstringRequired—
resultsConnectionRecord[]Required—
typeContinent3 fields
FieldTypeRequirementDescription
idstringOptional—
codestringRequiredTwo-letter ISO 3166-1 alpha-2 country code. Must be unique. us de fr
namestringRequiredEnglish display name of the country used across the admin and API responses.
typeCountry6 fields
FieldTypeRequirementDescription
idstringOptional—
codestringRequiredTwo-letter ISO 3166-1 alpha-2 country code. Must be unique. us de fr
namestringRequiredEnglish display name of the country used across the admin and API responses.
original_namestringOptionalNative-language name of the country as it appears in the source data. Deutschland Français
ispsLocationCodeName[]Required—
asnsLocationCodeName[]RequiredThe asns field is always present and defaults to an empty array. Pass include_asns=true to include available autonomous system numbers. This option does not affect the standalone /locations/asn endpoint or the compact proxy-node response format.
typeCoupon16 fields
FieldTypeRequirementDescription
idstringOptional—
redeemed_countnumberRequired—
is_expiredbooleanRequired—
is_redeemedbooleanRequired—
packagesPackageShort[]Required—
statsCouponStatsRequired—
createdstringRequired—
valuenumberRequiredArbitrary coupon value
codestringRequiredLeaving this field empty will generate a random code.
is_multi_usebooleanOptionalIf true, coupon can be used multiple times.
is_available_to_one_timebooleanOptionalIf true, coupon can not be used for one-time package tiers.
typeCouponTypeEnumRequired—
limitnumberOptionalNumber of times coupon can be used
valid_untilstringOptionalLeave empty for coupons that never expire
marketerstringOptionalThe marketer who owns this coupon. Required if is_marketer is true.
userstringRequiredThe user who created this coupon.
typeCouponCalculatePriceRequest3 fields
FieldTypeRequirementDescription
package_idstringOptional—
coupon_codestringRequired—
datanumberRequired—
typeCouponCreateRequest9 fields
FieldTypeRequirementDescription
valuenumberRequiredArbitrary coupon value
codestringOptionalLeave empty to auto-generate a code
is_multi_usebooleanOptionalIf true, coupon can be used multiple times.
is_available_to_one_timebooleanOptionalIf true, coupon can not be used for one-time package tiers.
marketerstringOptionalThe marketer who owns this coupon. Required if is_marketer is true.
typeCouponTypeEnumRequired—
limitnumberOptionalNumber of times coupon can be used
valid_untilstringOptionalLeave empty for coupons that never expire
packagesstring[]OptionalSelect packages for which this coupon is available. If no packages are selected, the coupon is available to all packages.
typeCouponPriceResponse3 fields
FieldTypeRequirementDescription
price_originalnumberRequiredOriginal price in the service's smallest currency unit.
price_discountednumberRequiredPrice after applying the coupon, in the smallest currency unit.
discount_percentagenumberRequired—
typeCouponRedeem7 fields
FieldTypeRequirementDescription
idstringOptional—
userstringRequired—
invoicestringOptional—
invoice_amountnumberRequired—
discount_appliednumberRequired—
redeemed_atstringOptional—
createdstringRequired—
typeCouponShort14 fields
FieldTypeRequirementDescription
idstringOptional—
is_expiredbooleanRequired—
is_redeemedbooleanRequired—
packagesPackageShort[]Required—
createdstringRequired—
valuenumberRequiredArbitrary coupon value
codestringRequiredLeaving this field empty will generate a random code.
is_multi_usebooleanOptionalIf true, coupon can be used multiple times.
is_available_to_one_timebooleanOptionalIf true, coupon can not be used for one-time package tiers.
typeCouponTypeEnumRequired—
limitnumberOptionalNumber of times coupon can be used
valid_untilstringOptionalLeave empty for coupons that never expire
marketerstringOptionalThe marketer who owns this coupon. Required if is_marketer is true.
userstringRequiredThe user who created this coupon.
typeCouponStats5 fields
FieldTypeRequirementDescription
total_redeemsnumberRequired—
unique_usersnumberRequired—
total_revenuenumberRequired—
total_discount_givennumberRequired—
total_data_givennumberRequired—
enumCouponTypeEnum0 fields

* `free_data` - Free Data * `monetary` - Money * `percentage` - Percentage

No configurable fields.

typeCouponUpdateRequest9 fields
FieldTypeRequirementDescription
valuenumberRequiredArbitrary coupon value
codestringOptionalCoupon code cannot be changed if already set
is_multi_usebooleanOptionalIf true, coupon can be used multiple times.
is_available_to_one_timebooleanOptionalIf true, coupon can not be used for one-time package tiers.
marketerstringOptionalThe marketer who owns this coupon. Required if is_marketer is true.
typeCouponTypeEnumRequired—
limitnumberOptionalNumber of times coupon can be used
valid_untilstringOptionalLeave empty for coupons that never expire
packagesstring[]OptionalSelect packages for which this coupon is available. If no packages are selected, the coupon is available to all packages.

D

typeDataLedger6 fields

A purchased data bucket, not a complete transaction history. Finite purchases with an expiration have separate buckets. Compatible non-expiring top-ups and unlimited packages may reuse an existing bucket.

FieldTypeRequirementDescription
idstringRequired—
datanumberRequiredTotal data allocated to this ledger entry in bytes. 1073741824 = 1 GiB 10737418240 = 10 GiB
data_remainingnumberRequiredBytes still available for consumption from this ledger entry. Decremented in FIFO order as the customer uses the proxy. When this reaches zero the entry is exhausted.
expiresstringRequiredDate and time when this ledger entry expires and any remaining data is forfeited. Leave blank for entries that do not expire.
updatedstringRequired—
createdstringRequired—
typeDomainRecord3 fields
FieldTypeRequirementDescription
hostnamestringRequired—
requestsnumberRequired—
datanumberRequired—
typeDomainsResponse6 fields
FieldTypeRequirementDescription
nextstringRequired—
previousstringRequired—
timezonestringRequired—
startstringRequired—
endstringRequired—
resultsDomainRecord[]Required—

E

typeEnabledResponse1 fields
FieldTypeRequirementDescription
enabledbooleanRequired—

F

typeFeedRecord20 fields
FieldTypeRequirementDescription
idstringRequiredExact decimal UInt64 identifier, normalized from the API's JSON number.
established_connectionsnumberRequired—
reseller_idstringRequired—
user_idstringRequired—
package_idstringRequired—
ledger_idstringRequired—
usernamestringRequired—
user_ipstringRequired—
server_ipstringRequired—
datanumberRequired—
hostnamestringRequired—
protocolstringRequired—
methodstringRequired—
poolstringRequired—
is_sessionbooleanRequired—
countrystringRequired—
regionstringRequired—
citystringRequired—
asnstringRequired—
timestampstringRequired—
typeFeedResponse7 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringRequired—
previousstringRequired—
timezonestringRequired—
startstringRequired—
endstringRequired—
resultsFeedRecord[]Required—
enumFreshnessEnum0 fields

* `fresh` - fresh * `stale` - stale * `unavailable` - unavailable

No configurable fields.

G

typeGeneratedProxy6 fields
FieldTypeRequirementDescription
hoststringRequired—
portnumberRequired—
protocolstringRequired—
usernamestringRequired—
passwordstringRequired—
connection_stringstringRequired—
typeGenerateProxyRequest6 fields

Validates proxy generation request data and builds generator config.

FieldTypeRequirementDescription
package_idstringRequiredProxyRequest package UUID used to generate credentials. Headless integrations must resolve this from their local product mapping.
user_idstringOptionalProxyRequest sub-user UUID that will use the generated credentials. Resolve it from your local customer mapping. Must be the caller's own sub-user, even for superusers. Omit to generate for the authenticated account. For an independent top-level customer, authenticate as that customer rather than sending its ID with a global key.
quantitynumberRequiredNumber of proxies to generate
targetingProxyGenerationTargetingRequestOptional—
connectionProxyGenerationConnectionRequestOptional—
sessionProxyGenerationSessionRequestOptional—
typeGenerateProxyResponse2 fields
FieldTypeRequirementDescription
countnumberRequired—
proxiesGeneratedProxy[]Required—
typeGoogleAuthRequest5 fields

Enhanced Google OAuth authentication with comprehensive security validation and user management.

FieldTypeRequirementDescription
credentialstringRequiredGoogle ID token credential
client_idstringOptionalGoogle OAuth client ID
select_bystringOptionalUser selection method
affiliate_codestringOptionalOptional affiliate code
referral_codestringOptionalOptional referral code

I

typeInvoice38 fields
FieldTypeRequirementDescription
idstringOptional—
packagePackageShortRequired—
countryCountryRequired—
user_idstringRequired—
couponCouponShortRequired—
payment_amountnumberRequired—
payment_currencystringRequired—
fx_market_ratestringRequired—
fx_effective_ratestringRequired—
fx_markup_percentstringRequired—
fx_quoted_atstringRequired—
updatedstringRequired—
createdstringRequired—
typeInvoiceTypeEnumOptionalThe type of invoice, indicating the type of proxy service. Options include: RESIDENTIAL: Residential proxies. STATIC: Static proxies. * `static` - Static * `residential` - Residential * `balance` - Balance
is_one_timebooleanOptionalWhether this pricing tier is restricted to a one-time purchase. False does not create a recurring subscription or a renewal schedule.
is_payoutbooleanOptionalIndicates whether this invoice is a payout to the marketer. Default is False.
internal_idstringOptionalA unique identifier for the invoice, generated automatically.
statusInvoiceStatusEnumOptionalPayment state. A paid package invoice funds an order; a paid balance invoice credits money. Confirm the resulting order before delivering access, because fulfillment can recover asynchronously. Creating an invoice with status=paid requires a superuser. This read field is not a public status-update or refund endpoint. * `pending` - Pending * `paid` - Paid * `unpaid` - Unpaid * `error` - Error
descriptionstringOptionalA description of the invoice. This field is optional and can be left blank.
connection_limitnumberOptionalThe maximum number of concurrent connections allowed for this package.
quantitynumberOptionalThe number of proxies to assign.
datanumberOptionalThe amount of data in bytes.
balancenumberOptionalThe balance to top up for the user. Must be zero or positive.
price_totalnumberOptionalThe total price of the invoice, including any discounts. Must be at least 1 cent.
gatewayInvoiceGatewayEnumOptionalThe payment gateway used for processing the payment. * `coinbase` - Coinbase * `cryptomus` - Cryptomus * `stripe` - Stripe * `coingate` - Coingate * `wallet` - Wallet * `manual` - Manual * `whitepay` - Whitepay * `wayforpay` - WayForPay * `usegateway` - UseGateway * `binance` - Binance Pay * `anymoney` - Any.Money * `coinpayments` - CoinPayments * `checkoutcom` - Checkout.com * `nowpayments` - NOWPayments * `btcpay` - BTCPay Server * `braintree` - Braintree * `monobank` - monobank * `liqpay` - LiqPay * `iyzico` - iyzico * `paytr` - PayTR * `payu` - PayU * `tpay` - Tpay * `przelewy24` - Przelewy24 * `gopay` - GoPay * `comgate` - Comgate * `monei` - MONEI * `redsys` - Redsys * `payplug` - PayPlug * `mollie` - Mollie * `unzer` - Unzer * `payone` - PAYONE * `nexi_xpay` - Nexi XPay * `halyk_epay` - Halyk ePay * `kaspi_pay` - Kaspi Pay * `vipps_mobilepay` - Vipps MobilePay * `paytrail` - Paytrail
payment_urlstringOptionalThe URL for making the payment. Optional field with a maximum length of 500 characters.
currencystringOptionalISO 4217 currency captured when the invoice is created.
provider_checkout_idstringOptionalProvider-side hosted checkout identifier used for reconciliation.
provider_payment_idstringOptionalProvider-side payment or transaction identifier used for reconciliation.
checkout_statusCheckoutStatusEnumOptional—
vatnumberOptionalThe VAT percentage applied to the invoice. Must be between 0 and 100.
company_namestringOptional—
company_addressstringOptional—
company_citystringOptional—
company_postal_codestringOptional—
company_registration_numberstringOptional—
company_vat_numberstringOptional—
paidstringOptionalThe date and time when the invoice was paid.
enumInvoiceCreateRequestGatewayEnum0 fields

* `crypto` - crypto * `credit_card` - credit_card * `wallet` - wallet * `manual` - manual * `stripe` - stripe * `coinbase` - coinbase * `cryptomus` - cryptomus * `coingate` - coingate * `whitepay` - whitepay * `wayforpay` - wayforpay * `usegateway` - usegateway * `binance` - binance * `anymoney` - anymoney * `coinpayments` - coinpayments * `checkoutcom` - checkoutcom * `nowpayments` - nowpayments * `btcpay` - btcpay * `braintree` - braintree * `monobank` - monobank * `liqpay` - liqpay * `iyzico` - iyzico * `paytr` - paytr * `payu` - payu * `tpay` - tpay * `przelewy24` - przelewy24 * `gopay` - gopay * `comgate` - comgate * `monei` - monei * `redsys` - redsys * `payplug` - payplug * `mollie` - mollie * `unzer` - unzer * `payone` - payone * `nexi_xpay` - nexi_xpay * `halyk_epay` - halyk_epay * `kaspi_pay` - kaspi_pay * `vipps_mobilepay` - vipps_mobilepay * `paytrail` - paytrail

No configurable fields.

typeInvoiceCreateRequestRequest16 fields
FieldTypeRequirementDescription
package_idstringOptionalPackage to purchase. Required for package purchases.
user_idstringOptionalAccount receiving the purchase. Omit for your own account. Sending user_id requires is_reseller; a reseller can target its own sub-user, while a superuser with is_reseller can target another account. Do not send your own ID.
gatewayInvoiceCreateRequestGatewayEnumRequired—
statusInvoiceCreateRequestStatusEnumOptionalInitial invoice status. Defaults to pending. Setting paid requires a superuser or an active superuser's API key, including requests using X-Impersonate-User. Other authenticated users receive a 403 response. * `pending` - pending * `paid` - paid
crypto_currencystringOptional—
payment_currencystringOptionalISO 4217 currency charged by a regional fiat provider.
coupon_codestringOptional—
country_codestringOptional—
datanumberOptionalResidential proxy data to purchase, in integer bytes (1 GiB = 1073741824). Required with package_id for a residential purchase. A paid purchase funds the recipient's order; it is not a virtual allocation from a parent pool.
quantitynumberOptionalNumber of static proxies to purchase.
amountnumberOptionalAccount balance amount to purchase, in the smallest currency unit. Use for a wallet top-up without package_id, not for buying proxy data.
connection_limitnumberOptional—
expiresnumberOptionalOptional future expiration as a Unix timestamp in seconds, not milliseconds. Otherwise a positive package billing cycle determines the purchased data's expiration from the payment date; a zero cycle has no automatic expiration. A later purchase does not extend earlier finite, expiring ledgers.
company_namestringOptional—
company_registration_numberstringOptional—
company_vat_numberstringOptional—
enumInvoiceCreateRequestStatusEnum0 fields

* `pending` - pending * `paid` - paid

No configurable fields.

enumInvoiceGatewayEnum0 fields

* `coinbase` - Coinbase * `cryptomus` - Cryptomus * `stripe` - Stripe * `coingate` - Coingate * `wallet` - Wallet * `manual` - Manual * `whitepay` - Whitepay * `wayforpay` - WayForPay * `usegateway` - UseGateway * `binance` - Binance Pay * `anymoney` - Any.Money * `coinpayments` - CoinPayments * `checkoutcom` - Checkout.com * `nowpayments` - NOWPayments * `btcpay` - BTCPay Server * `braintree` - Braintree * `monobank` - monobank * `liqpay` - LiqPay * `iyzico` - iyzico * `paytr` - PayTR * `payu` - PayU * `tpay` - Tpay * `przelewy24` - Przelewy24 * `gopay` - GoPay * `comgate` - Comgate * `monei` - MONEI * `redsys` - Redsys * `payplug` - PayPlug * `mollie` - Mollie * `unzer` - Unzer * `payone` - PAYONE * `nexi_xpay` - Nexi XPay * `halyk_epay` - Halyk ePay * `kaspi_pay` - Kaspi Pay * `vipps_mobilepay` - Vipps MobilePay * `paytrail` - Paytrail

No configurable fields.

typeInvoiceRead39 fields

Full invoice in package-based deployments; short invoice otherwise. Invoice creation always returns the full Invoice representation.

FieldTypeRequirementDescription
idstringOptional—
packagePackageShortRequired—
countryCountryRequired—
user_idstringRequired—
couponCouponRequired—
payment_amountnumberRequired—
payment_currencystringRequired—
fx_market_ratestringRequired—
fx_effective_ratestringRequired—
fx_markup_percentstringRequired—
fx_quoted_atstringRequired—
updatedstringRequired—
createdstringRequired—
typeInvoiceTypeEnumOptionalThe type of invoice, indicating the type of proxy service. Options include: RESIDENTIAL: Residential proxies. STATIC: Static proxies. * `static` - Static * `residential` - Residential * `balance` - Balance
is_one_timebooleanOptionalIndicates whether this invoice is for a one-time purchase. Default is False, meaning it is a recurring invoice.
is_payoutbooleanOptionalIndicates whether this invoice is a payout to the marketer. Default is False.
internal_idstringOptionalA unique identifier for the invoice, generated automatically.
statusInvoiceStatusEnumOptionalAfter changing invoice status to PAID, the invoice will be processed and user package created in case none exists. If you need to cancel the invoice, make sure to subtract data from the user package after changing the invoice status. Changing the status from PAID to any other will not affect the user package's data or proxies. * `pending` - Pending * `paid` - Paid * `unpaid` - Unpaid * `error` - Error
descriptionstringOptionalA description of the invoice. This field is optional and can be left blank.
connection_limitnumberOptionalThe maximum number of concurrent connections allowed for this package.
quantitynumberOptionalThe number of proxies to assign.
datanumberOptionalThe amount of data in bytes.
balancenumberOptionalThe balance to top up for the user. Must be zero or positive.
price_totalnumberOptionalThe total price of the invoice, including any discounts. Must be at least 1 cent.
gatewayInvoiceGatewayEnumOptionalThe payment gateway used for processing the payment. * `coinbase` - Coinbase * `cryptomus` - Cryptomus * `stripe` - Stripe * `coingate` - Coingate * `wallet` - Wallet * `manual` - Manual * `whitepay` - Whitepay * `wayforpay` - WayForPay * `usegateway` - UseGateway * `binance` - Binance Pay * `anymoney` - Any.Money * `coinpayments` - CoinPayments * `checkoutcom` - Checkout.com * `nowpayments` - NOWPayments * `btcpay` - BTCPay Server * `braintree` - Braintree * `monobank` - monobank * `liqpay` - LiqPay * `iyzico` - iyzico * `paytr` - PayTR * `payu` - PayU * `tpay` - Tpay * `przelewy24` - Przelewy24 * `gopay` - GoPay * `comgate` - Comgate * `monei` - MONEI * `redsys` - Redsys * `payplug` - PayPlug * `mollie` - Mollie * `unzer` - Unzer * `payone` - PAYONE * `nexi_xpay` - Nexi XPay * `halyk_epay` - Halyk ePay * `kaspi_pay` - Kaspi Pay * `vipps_mobilepay` - Vipps MobilePay * `paytrail` - Paytrail
payment_urlstringOptionalThe URL for making the payment. Optional field with a maximum length of 500 characters.
currencystringOptionalISO 4217 currency captured when the invoice is created.
provider_checkout_idstringOptionalProvider-side hosted checkout identifier used for reconciliation.
provider_payment_idstringOptionalProvider-side payment or transaction identifier used for reconciliation.
checkout_statusCheckoutStatusEnumOptional—
vatnumberOptionalThe VAT percentage applied to the invoice. Must be between 0 and 100.
company_namestringOptional—
company_addressstringOptional—
company_citystringOptional—
company_postal_codestringOptional—
company_registration_numberstringOptional—
company_vat_numberstringOptional—
paidstringOptionalThe date and time when the invoice was paid.
expiresstringOptionalThe date and time when the invoice expires. If not set, the invoice does not expire.
typeInvoiceShort28 fields
FieldTypeRequirementDescription
idstringOptional—
couponCouponRequired—
countryCountryRequired—
updatedstringRequired—
createdstringRequired—
is_one_timebooleanOptionalIndicates whether this invoice is for a one-time purchase. Default is False, meaning it is a recurring invoice.
is_payoutbooleanOptionalIndicates whether this invoice is a payout to the marketer. Default is False.
internal_idstringOptionalA unique identifier for the invoice, generated automatically.
statusInvoiceStatusEnumOptionalAfter changing invoice status to PAID, the invoice will be processed and user package created in case none exists. If you need to cancel the invoice, make sure to subtract data from the user package after changing the invoice status. Changing the status from PAID to any other will not affect the user package's data or proxies. * `pending` - Pending * `paid` - Paid * `unpaid` - Unpaid * `error` - Error
descriptionstringOptionalA description of the invoice. This field is optional and can be left blank.
connection_limitnumberOptionalThe maximum number of concurrent connections allowed for this package.
datanumberOptionalThe amount of data in bytes.
balancenumberOptionalThe balance to top up for the user. Must be zero or positive.
price_totalnumberOptionalThe total price of the invoice, including any discounts. Must be at least 1 cent.
gatewayInvoiceGatewayEnumOptionalThe payment gateway used for processing the payment. * `coinbase` - Coinbase * `cryptomus` - Cryptomus * `stripe` - Stripe * `coingate` - Coingate * `wallet` - Wallet * `manual` - Manual * `whitepay` - Whitepay * `wayforpay` - WayForPay * `usegateway` - UseGateway * `binance` - Binance Pay * `anymoney` - Any.Money * `coinpayments` - CoinPayments * `checkoutcom` - Checkout.com * `nowpayments` - NOWPayments * `btcpay` - BTCPay Server * `braintree` - Braintree * `monobank` - monobank * `liqpay` - LiqPay * `iyzico` - iyzico * `paytr` - PayTR * `payu` - PayU * `tpay` - Tpay * `przelewy24` - Przelewy24 * `gopay` - GoPay * `comgate` - Comgate * `monei` - MONEI * `redsys` - Redsys * `payplug` - PayPlug * `mollie` - Mollie * `unzer` - Unzer * `payone` - PAYONE * `nexi_xpay` - Nexi XPay * `halyk_epay` - Halyk ePay * `kaspi_pay` - Kaspi Pay * `vipps_mobilepay` - Vipps MobilePay * `paytrail` - Paytrail
currencystringOptionalISO 4217 currency captured when the invoice is created.
provider_checkout_idstringOptionalProvider-side hosted checkout identifier used for reconciliation.
provider_payment_idstringOptionalProvider-side payment or transaction identifier used for reconciliation.
checkout_statusCheckoutStatusEnumOptional—
vatnumberOptionalThe VAT percentage applied to the invoice. Must be between 0 and 100.
company_namestringOptional—
company_addressstringOptional—
company_citystringOptional—
company_postal_codestringOptional—
company_registration_numberstringOptional—
company_vat_numberstringOptional—
paidstringOptionalThe date and time when the invoice was paid.
expiresstringOptionalThe date and time when the invoice expires. If not set, the invoice does not expire.
enumInvoiceStatusEnum0 fields

* `pending` - Pending * `paid` - Paid * `unpaid` - Unpaid * `error` - Error

No configurable fields.

enumInvoiceTypeEnum0 fields

* `static` - Static * `residential` - Residential * `balance` - Balance

No configurable fields.

typeISP2 fields
FieldTypeRequirementDescription
codestringRequiredUnique internal code used to identify this ISP in location vocabulary entries and provider routing rules. comcast att deutsche_telekom
namestringRequiredFull display name of the Internet Service Provider. Comcast Cable Communications AT&T Services

L

enumLanguageEnum0 fields

* `en` - EN * `de` - DE * `fr` - FR * `it` - IT * `ru` - RU

No configurable fields.

enumLevelEnum0 fields

* `standard` - Standard * `silver` - Silver * `gold` - Gold * `diamond` - Diamond

No configurable fields.

typeLocationASNGeoItem3 fields
FieldTypeRequirementDescription
countryLocationCodeNameRequired—
regionLocationCodeNameOptional—
cityLocationCodeNameOptional—
typeLocationASNRecord3 fields
FieldTypeRequirementDescription
codestringRequired—
namestringRequired—
geoLocationASNGeoItem[]Optional—
typeLocationCodeName2 fields
FieldTypeRequirementDescription
codestringRequired—
namestringRequired—
typeLocationCountrySummary3 fields
FieldTypeRequirementDescription
codestringRequired—
namestringRequired—
original_namestringOptional—
typeLocationRegionSummary3 fields
FieldTypeRequirementDescription
codestringRequired—
namestringRequired—
original_namestringOptional—
typeLoginRequestRequest3 fields
FieldTypeRequirementDescription
emailstringOptionalAccount email. Send either email or username.
usernamestringOptionalAccount username. Send either username or email.
passwordstringRequiredCurrent account password.
typeLogRecord22 fields
FieldTypeRequirementDescription
idnumberRequired—
server_ipstringRequired—
user_ipstringRequired—
protocolstringRequired—
methodstringRequired—
user_idstringRequired—
reseller_idstringRequired—
usernamestringRequired—
hostnamestringRequired—
status_codenumberRequired—
error_codenumberRequired—
error_messagestringRequired—
countrystringRequired—
regionstringRequired—
citystringRequired—
asnstringRequired—
levelstringRequired—
is_sessionbooleanRequired—
timestampstringRequired—
package_idstringOptional—
package_aliasstringOptional—
ledger_idstringOptional—
typeLogsResponse7 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringRequired—
previousstringRequired—
timezonestringRequired—
startstringRequired—
endstringRequired—
resultsLogRecord[]Required—

M

typeMessageResponse1 fields
FieldTypeRequirementDescription
detailstringRequired—

N

typeNews4 fields
FieldTypeRequirementDescription
idstringOptional—
titlestringRequired—
contentstringRequiredThe content of the news item. HTML is allowed.
datestringOptionalThe date and time when the news item is published.
enumNullEnum0 fields

No configurable fields.

O

typeOrder17 fields
FieldTypeRequirementDescription
idstringOptional—
is_auto_renewalbooleanRequired—
auto_renewal_percentagenumberOptionalWhen this percentage of the data allowance has been consumed, the order is automatically renewed if the user has sufficient balance. Set to 0 to disable auto-renewal. 80 → renew when 80% of data is used
auto_renewal_datanumberOptionalAmount of data in GB to add when auto-renewal is triggered. Set to 0 to use the package default.
packagePackageShortRequired—
proxy_passwordstringOptionalPassword used by the customer to authenticate proxy connections. Auto-generated by default — change only if a custom value is needed. Must be between 4 and 64 characters.
proxy_password_resetstringOptionalTimestamp of the last proxy password change. Read-only — updated automatically whenever the password is rotated.
poolsstring[]OptionalPrivate proxy pools assigned to this order. Pools restrict which proxy IPs are available to this customer. Leave blank to use the full provider pool.
datanumberOptionalTotal data allowance for this order in bytes. 1073741824 = 1 GiB 10737418240 = 10 GiB
data_remainingnumberRequiredInteger bytes. Root order: sum of usable ledger balances, not data minus data_spent. Virtual child order: max(data - data_spent, 0), a personal quota that does not guarantee the parent still has usable data.
data_spentnumberOptionalTotal bytes consumed from this order's data allowance so far. Updated in real time as the customer uses the proxy.
ledgersDataLedger[]RequiredUsable, non-expired ledger balances for a purchased root order; empty for a virtual child order using its parent's pool. Not a complete history. Array position does not identify the active ledger or spending order.
latest_data_top_upnumberOptionalAmount of data added to this order in bytes during the most recent top-up.
latest_data_top_up_datestringOptionalTimestamp of the most recent data top-up, set when an invoice is fulfilled.
data_updatedstringRequired—
updatedstringRequired—
createdstringRequired—
typeOrderDetailed18 fields
FieldTypeRequirementDescription
idstringOptional—
packagePackageShortRequired—
is_activebooleanOptionalWhen enabled, the customer can actively use proxies on this order. Disable to suspend access without deleting the order.
is_auto_renewalbooleanRequired—
auto_renewal_percentagenumberOptionalWhen this percentage of the data allowance has been consumed, the order is automatically renewed if the user has sufficient balance. Set to 0 to disable auto-renewal. 80 → renew when 80% of data is used
auto_renewal_datanumberOptionalAmount of data in GB to add when auto-renewal is triggered. Set to 0 to use the package default.
user_idstringRequired—
proxy_passwordstringOptionalPassword used by the customer to authenticate proxy connections. Auto-generated by default — change only if a custom value is needed. Must be between 4 and 64 characters.
proxy_password_resetstringOptionalTimestamp of the last proxy password change. Read-only — updated automatically whenever the password is rotated.
poolsstring[]OptionalPrivate proxy pools assigned to this order. Pools restrict which proxy IPs are available to this customer. Leave blank to use the full provider pool.
datanumberOptionalTotal data allowance for this order in bytes. 1073741824 = 1 GiB 10737418240 = 10 GiB
data_remainingnumberRequiredInteger bytes. Root order: sum of usable ledger balances. Virtual child order: max(data - data_spent, 0); access also needs a usable parent pool.
data_spentnumberOptionalTotal bytes consumed from this order's data allowance so far. Updated in real time as the customer uses the proxy.
ledgersDataLedger[]RequiredUsable, non-expired purchased buckets; empty for virtual child orders. Not a complete history, and array position is not spending priority.
latest_data_top_upnumberOptionalAmount of data added to this order in bytes during the most recent top-up.
latest_data_top_up_datestringOptionalTimestamp of the most recent data top-up, set when an invoice is fulfilled.
data_updatedstringRequired—
expiresstringOptionalDate and time when this order expires and access is revoked. Leave blank for orders that do not expire.
typeOTPChallenge3 fields
FieldTypeRequirementDescription
statusstringRequired—
challengestringRequired—
expires_innumberRequired—
typeOverallPoint3 fields
FieldTypeRequirementDescription
datanumberRequired—
requestsnumberRequired—
timestampstringRequired—
typeOverallResponse7 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringRequired—
previousstringRequired—
timezonestringRequired—
startstringRequired—
endstringRequired—
resultsOverallPoint[]Required—

P

typePackage19 fields
FieldTypeRequirementDescription
idstringOptional—
namestringRequiredUnique display name for this package shown to customers and in the admin. Residential Starter Business Pro
aliasstringRequiredLowercase alphanumeric identifier used internally for package resolution and proxy username routing. Cannot be changed without affecting active connections. residential01 bizpro
typeProxyTypeEnumOptional—
ordernumberOptionalDisplay order in the UI. Lower values appear first.
is_continent_targetingbooleanOptionalWhen enabled, users on this package can target proxies by continent. If disabled, they will only be able to target by country or city.
is_country_targetingbooleanOptionalAllow users to target a specific country in their proxy username. country-us country-de
is_region_targetingbooleanOptionalAllow users to target a specific region in their proxy username. Requires country targeting to be enabled. country-us-region-california
is_city_targetingbooleanOptionalAllow users to target a specific city in their proxy username. Requires country and region targeting to be enabled. country-us-region-california-city-los_angeles
is_asn_targetingbooleanOptionalAllow users to target a specific ASN in their proxy username. ASNs must be configured in the provider's location vocabulary. country-us-asn-3602
featuresstring[]Required—
descriptionstringOptionalCustomer-facing description shown on the package listing page.
pricingPricingEnumOptionalPricing model applied when customers purchase data on this package. Fixed a fixed price per data amount — 10 GB for $10, 50 GB for $50 Range tiered pricing where the unit price decreases as quantity increases * `fixed` - Fixed * `range` - Range
pricing_unitPricingUnitEnumOptionalUnit customers purchase — determines how the billing model amounts are interpreted. * `data` - Data * `proxy` - Proxy
billing_cyclenumberRequiredNumber of days before purchased data expires. Set to -1 for data that never expires. 30 monthly -1 never expires
billing_modelRecord<string, unknown>Required—
commission_ratestringOptionalReseller commission rate as a percentage of the sale price. Applies to all purchases of this package. 10.00 → 10 percent commission on every purchase
commission_typeCommissionTypeEnumOptionalHow the commission rate is applied to reseller sales. Fixed a fixed percentage regardless of sale amount Flexible rate may vary based on negotiated reseller terms * `flexible` - Flexible * `percentage` - Percentage * `fixed` - Fixed
targeting_optionsTargetingOptionsRequired—
typePackageCommission8 fields
FieldTypeRequirementDescription
idstringRequired—
namestringRequired—
pricingstringRequired—
commission_ratenumberRequired—
total_earningsnumberRequired—
total_ordersnumberRequired—
pendingnumberRequired—
billing_modelstringRequired—
typePackageShort5 fields
FieldTypeRequirementDescription
idstringOptional—
namestringRequiredUnique display name for this package shown to customers and in the admin. Residential Starter Business Pro
aliasstringRequiredLowercase alphanumeric identifier used internally for package resolution and proxy username routing. Cannot be changed without affecting active connections. residential01 bizpro
is_unlimited_databooleanOptionalWhen enabled, users on this package have no data cap. The proxy will not enforce any bandwidth limit.
targeting_optionsTargetingOptionsRequired—
typePaginatedAffiliateList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsAffiliate[]Required—
typePaginatedAffiliateRewardList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsAffiliateReward[]Required—
typePaginatedAPIKeyListList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsAPIKeyList[]Required—
typePaginatedCityList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsCity[]Required—
typePaginatedContinentList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsContinent[]Required—
typePaginatedCountryList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsCountry[]Required—
typePaginatedCouponRedeemList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsCouponRedeem[]Required—
typePaginatedCouponShortList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsCouponShort[]Required—
typePaginatedInvoiceReadList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsInvoiceRead[]Required—
typePaginatedISPList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsISP[]Required—
typePaginatedLocationASNRecordList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsLocationASNRecord[]Required—
typePaginatedNewsList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsNews[]Required—
typePaginatedOrderList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsOrder[]Required—
typePaginatedPackageCommissionList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsPackageCommission[]Required—
typePaginatedPackageList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsPackage[]Required—
typePaginatedProviderDataBalanceList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsProviderDataBalance[]Required—
typePaginatedRegionList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsRegion[]Required—
typePaginatedRewardList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsReward[]Required—
typePaginatedUserList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsUser[]Required—
typePaginatedWebhookListList4 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringOptional—
previousstringOptional—
resultsWebhookList[]Required—
typePasswordRecoveryResponse2 fields
FieldTypeRequirementDescription
messagestringRequired—
emailstringRequired—
typePatchedCouponUpdateRequest9 fields
FieldTypeRequirementDescription
valuenumberOptionalArbitrary coupon value
codestringOptionalCoupon code cannot be changed if already set
is_multi_usebooleanOptionalIf true, coupon can be used multiple times.
is_available_to_one_timebooleanOptionalIf true, coupon can not be used for one-time package tiers.
marketerstringOptionalThe marketer who owns this coupon. Required if is_marketer is true.
typeCouponTypeEnumOptional—
limitnumberOptionalNumber of times coupon can be used
valid_untilstringOptionalLeave empty for coupons that never expire
packagesstring[]OptionalSelect packages for which this coupon is available. If no packages are selected, the coupon is available to all packages.
typePatchedOrderAutoRenewalRequest2 fields
FieldTypeRequirementDescription
auto_renewal_percentagenumberOptional—
auto_renewal_datanumberOptional—
typePatchedProfileUpdateRequest18 fields

for updating user profile information with comprehensive validation. Handles personal profile data, company information, security settings, and password changes. All fields are optional, but at least one field must be provided for the update to be valid. Includes validation for domain patterns with support for wildcards (*.example.com) and subdomains.

FieldTypeRequirementDescription
emailstringOptional—
first_namestringOptional—
last_namestringOptional—
countrystringOptional—
statestringOptional—
citystringOptional—
addressstringOptional—
zipstringOptional—
company_namestringOptional—
company_countrystringOptional—
company_citystringOptional—
company_addressstringOptional—
company_postal_codestringOptional—
company_vat_numberstringOptional—
blocked_domainsstring[]Optional—
allowed_ipsstring[]Optional—
new_passwordstringOptional—
old_passwordstringOptional—
typePatchedTelegramConnectionUpdateRequest2 fields
FieldTypeRequirementDescription
localestringOptional—
timezonestringOptional—
typePatchedUserUpdateRequest20 fields

Optional fields accepted when updating part of an existing customer account.

FieldTypeRequirementDescription
emailstringOptionalUser's email address. Must be unique across the system.
first_namestringOptionalUser's first name.
last_namestringOptionalUser's last name.
countrystringOptionalUser's country of residence.
statestringOptionalUser's state or province.
citystringOptionalUser's city.
addressstringOptionalUser's street address.
zipstringOptionalUser's postal/ZIP code.
company_namestringOptionalName of the user's company.
company_countrystringOptionalCountry where the company is located.
company_citystringOptionalCity where the company is located.
company_addressstringOptionalCompany's street address.
company_postal_codestringOptionalCompany's postal code.
company_vat_numberstringOptionalCompany's VAT number.
is_resellerbooleanOptionalWhether the user has reseller privileges. Only superusers can modify.
blocked_domainsstring[]OptionalList of domains to block for this user.
allowed_ipsstring[]OptionalList of source IP addresses allowed for this user. The maximum list size is configured per deployment.
connection_limitnumberOptionalMaximum number of concurrent connections allowed for the user.
new_passwordstringOptionalNew password for the user. Must be 8-128 characters long.
metaRecord<string, unknown>OptionalAdditional metadata for the user. Maximum 50 fields.
typePaymentGateway6 fields
FieldTypeRequirementDescription
codestringRequired—
namestringRequired—
kindstringRequired—
supported_currenciesstring[]Required—
supported_crypto_currenciesstring[]Required—
requires_crypto_currencybooleanRequired—
typePaymentLinkResponse1 fields
FieldTypeRequirementDescription
payment_urlstringRequiredHosted checkout URL for the pending invoice.
enumPricingEnum0 fields

* `fixed` - Fixed * `range` - Range

No configurable fields.

enumPricingUnitEnum0 fields

* `data` - Data * `proxy` - Proxy

No configurable fields.

enumProtocolEnum0 fields

* `http` - http * `socks5` - socks5 * `auto` - auto

No configurable fields.

typeProviderBalanceCheckpoint5 fields
FieldTypeRequirementDescription
idstringRequired—
available_bytesstringRequiredObserved balance in bytes, as a decimal string.
observed_atstringRequired—
createdstringRequired—
created_bystringRequired—
typeProviderDataBalance13 fields
FieldTypeRequirementDescription
checkpoint_idstringRequired—
provider_idstringRequired—
provider_namestringRequired—
observed_atstringRequiredTime the available balance was observed.
available_bytesstringRequiredObserved balance in bytes, as a decimal string.
used_bytesstringRequiredCalculated usage since the observation, in bytes.
remaining_bytesstringRequiredRemaining bytes at calculated_at, as a decimal string.
remaining_percentnumberRequired—
severitySeverityEnum | NullEnumRequired—
freshnessFreshnessEnumRequired—
errorstringRequired—
calculated_atstringRequiredTime of the last successful calculation.
historyProviderBalanceCheckpoint[]RequiredLatest entries by creation time, limited by PROVIDER_DATA_BALANCE_HISTORY_LIMIT (default 10).
typeProxyGenerationConnectionRequest4 fields
FieldTypeRequirementDescription
protocolProtocolEnumOptionalProxy protocol. * `http` - http * `socks5` - socks5 * `auto` - auto
hoststringOptionalGateway host. Leave empty to choose one available gateway for the entire request.
portnumberOptionalGateway port. Leave empty to use the port for the selected protocol.
formatstringOptionalConnection string format.
typeProxyGenerationSessionRequest1 fields
FieldTypeRequirementDescription
ttlnumberOptionalSticky session lifetime in seconds. The accepted range is configured per deployment.
typeProxyGenerationTargetingRequest8 fields
FieldTypeRequirementDescription
continentstringOptionalTarget continent code.
countrystringOptionalTarget country code.
regionstringOptionalTarget region or state code.
citystringOptionalTarget city code.
poolstringOptionalProxy pool identifier.
asnnumberOptionalTarget autonomous system number.
ispstringOptionalTarget internet service provider.
osstringOptionalTarget operating system: linux, windows, ios, macos, android. Use comma-separated values only when combined OS targeting is enabled.
typeProxyPasswordResetResponse2 fields
FieldTypeRequirementDescription
messagestringRequired—
successbooleanRequired—
enumProxyTypeEnum0 fields

* `static` - Static * `residential` - Residential

No configurable fields.

R

typeRecoverPasswordRequest2 fields

Password recovery with enhanced security and comprehensive error handling.

FieldTypeRequirementDescription
emailstringRequiredEmail address for password recovery
tokenstringRequiredCloudflare Turnstile security token
typeRegion8 fields
FieldTypeRequirementDescription
idstringOptional—
codestringRequiredRaw region code as it appears in the source data. Used together with country to form a unique identifier. california ile_de_france
iso31662stringOptionalISO 3166-2 subdivision code for this region. US-CA FR-IDF
namestringRequiredEnglish display name of the region used across the admin and API responses.
original_namestringOptionalNative-language name of the region as it appears in the source data.
countryLocationCountrySummaryRequired—
ispsLocationCodeName[]Required—
asnsLocationCodeName[]RequiredThe asns field is always present and defaults to an empty array. Pass include_asns=true to include available autonomous system numbers. This option does not affect the standalone /locations/asn endpoint or the compact proxy-node response format.
typeResetDataRequest1 fields
FieldTypeRequirementDescription
package_idstringRequiredPackage whose remaining data is reset to zero.
typeResetPasswordRequest1 fields
FieldTypeRequirementDescription
order_idstringRequired—
typeReward8 fields
FieldTypeRequirementDescription
idstringOptional—
emailstringRequired—
createdstringRequired—
balancenumberOptional—
datanumberOptionalThe amount of data in bytes.
statusRewardStatusEnumOptionalAfter changing invoice status to PAID, the invoice will be processed and user package created in case none exists. If you need to cancel the invoice, make sure to subtract data from the user package after changing the invoice status. Changing the status from PAID to any other will not affect the user package's data or proxies. * `pending` - Pending * `paid` - Paid * `review` - Review * `cancelled` - Cancelled
descriptionstringOptionalDescription of the reward, used to include payout details.
levelLevelEnumOptional—
typeRewardClaimRequestRequest2 fields
FieldTypeRequirementDescription
typestringRequiredReward balance to claim, for example balance or data.
descriptionstringOptionalOptional note stored with the claim.
enumRewardStatusEnum0 fields

* `pending` - Pending * `paid` - Paid * `review` - Review * `cancelled` - Cancelled

No configurable fields.

S

typeSettingsCrypto1 fields
FieldTypeRequirementDescription
currenciesstring[]Required—
typeSettingsGateway9 fields
FieldTypeRequirementDescription
idstringRequired—
namestringRequired—
regionstringRequired—
hostnamestringRequiredCluster gateway domain, or a server IP when no domain is configured.
hostnamesstring[]RequiredThe cluster domain, or unique server IPs when no domain is configured.
port_httpnumberRequired—
port_socks5numberRequired—
port_autonumberRequired—
port_haproxynumberRequired—
typeSettingsReferral4 fields
FieldTypeRequirementDescription
reward_balance_percentagenumberRequired—
reward_data_percentagenumberRequired—
reward_min_balancenumberRequired—
reward_min_datanumberRequired—
typeSettingsResponse10 fields
FieldTypeRequirementDescription
gatewaysSettingsGateway[]Required—
spent_totalnumberRequired—
orders_totalnumberRequired—
orders_activenumberRequired—
data_availablenumberRequired—
data_spentnumberRequired—
referralsSettingsReferralRequired—
cryptoSettingsCryptoRequired—
payment_methodsstring[]Required—
payment_gatewaysPaymentGateway[]Required—
enumSeverityEnum0 fields

* `warning` - warning * `danger` - danger

No configurable fields.

typeSignUpRequest5 fields

Comprehensive user registration with enhanced validation, security measures, and referral/affiliate code handling.

FieldTypeRequirementDescription
emailstringRequiredValid email address for account creation
passwordstringRequiredStrong password meeting security requirements
tokenstringRequiredCloudflare Turnstile security token
affiliate_codestringOptionalOptional affiliate referral code
referral_codestringOptionalOptional user referral code
typeSubtractDataRequest2 fields
FieldTypeRequirementDescription
package_idstringRequiredPackage of the managed virtual child order.
datanumberRequiredPositive integer bytes to remove from assigned quota, not from usage. Cannot exceed total assigned data. Does not credit the parent's pool.

T

typeTargetingOptions25 fields
FieldTypeRequirementDescription
packagestringRequired—
split_charstringRequired—
value_charstringRequired—
continentstringRequired—
countrystringRequired—
regionstringRequired—
citystringRequired—
asnstringRequired—
ispstringRequired—
usernamestringRequired—
poolstringRequired—
locationstringRequired—
location_formatstringRequired—
sessionstringRequired—
session_mode_tagstringRequired—
session_ttlstringRequired—
session_ttl_formatnumberRequired—
osstringRequired—
os_combinedbooleanRequired—
os_split_charstringRequired—
os_linuxstringRequired—
os_windowsstringRequired—
os_iosstringRequired—
os_macosstringRequired—
os_androidstringRequired—
typeTelegramConnectionResponse8 fields
FieldTypeRequirementDescription
availablebooleanRequired—
statusstringRequired—
bot_usernamestringRequired—
telegram_usernamestringOptional—
localestringRequired—
timezonestringRequired—
linked_atstringOptional—
pending_expires_atstringOptional—
typeTelegramLinkResponse3 fields
FieldTypeRequirementDescription
statusstringRequired—
bot_urlstringRequired—
expires_atstringRequired—
typeTokenPairResponse2 fields
FieldTypeRequirementDescription
tokenstringRequiredShort-lived access token used in the Authorization header.
refreshstringRequiredLong-lived token used to request a new access token.
typeTokenRefreshRequestRequest1 fields
FieldTypeRequirementDescription
refreshstringRequiredA valid refresh token.
typeTokenRefreshResponse1 fields
FieldTypeRequirementDescription
accessstringRequiredNew access token for the same account session.
typeTransactionRecord8 fields
FieldTypeRequirementDescription
sender_uuidstringRequired—
recipient_uuidstringRequired—
typenumberRequired—
amountnumberRequired—
package_uuidstringRequired—
detailsstringRequired—
datestringRequired—
timestampstringRequired—
typeTransactionsResponse7 fields
FieldTypeRequirementDescription
countnumberRequired—
nextstringRequired—
previousstringRequired—
timezonestringRequired—
startstringRequired—
endstringRequired—
resultsTransactionRecord[]Required—
typeTwoFactorConfirmRequest1 fields
FieldTypeRequirementDescription
codestringRequired—
typeTwoFactorDisableRequest3 fields
FieldTypeRequirementDescription
passwordstringOptional—
credentialstringOptional—
codestringRequired—
typeTwoFactorSetupRequestRequest3 fields
FieldTypeRequirementDescription
passwordstringOptional—
credentialstringOptional—
codestringOptional—
typeTwoFactorSetupResponse3 fields
FieldTypeRequirementDescription
secretstringRequired—
otpauth_urlstringRequired—
qr_png_base64stringOptional—

U

typeUser43 fields

Customer account with contact details, security settings, package data, referral information, and managed sub-users visible to the caller.

FieldTypeRequirementDescription
idstringRequired—
usernamestringRequiredValue must contain only letters, numbers, and underscores. It must not start or end with an underscore.
emailstringRequired—
is_resellerbooleanOptionalReseller can create sub-users and manage their data.
is_marketerbooleanOptionalMarketer can manage marketing campaigns and view analytics.
is_superuserbooleanOptionalDesignates that this user has all permissions without explicitly assigning them.
date_joinedstringRequired—
date_joined_tsnumberRequiredTimestamp of when the user joined
first_namestringOptional—
last_namestringOptional—
balancenumberOptional—
languageLanguageEnumOptional—
countrystringOptional—
statestringOptional—
citystringOptional—
addressstringOptional—
zipstringOptional—
company_namestringOptional—
company_addressstringOptional—
company_citystringOptional—
company_postal_codestringOptional—
company_countrystringOptional—
company_vat_numberstringOptional—
allowed_ipsstring[]RequiredList of IP addresses allowed for this user
blocked_domainsstring[]RequiredList of domains blocked for this user
connection_limitnumberOptionalThe maximum number of concurrent connections allowed for this package.
parent_idstringRequiredID of the parent user (for sub-accounts)
sub_usersnumberRequiredNumber of sub-users managed by this reseller
referralsnumberRequiredNumber of users referred by this user
referral_idstringOptional—
referral_codestringRequired—
referral_data_earnednumberRequired—
referral_data_pendingnumberRequired—
referral_balance_pendingnumberRequired—
referral_balance_earnednumberRequired—
currencyUserCurrencyRequiredCurrency information for the user's transactions
couponsCouponShort[]RequiredAvailable coupons for this user
datanumberOptionalPresent only when SITE_PACKAGE_BASED_AUTH is disabled.
data_spentnumberOptionalPresent only when SITE_PACKAGE_BASED_AUTH is disabled.
data_updatedstringOptionalPresent only when SITE_PACKAGE_BASED_AUTH is disabled.
proxy_passwordstringOptionalPresent only when SITE_PACKAGE_BASED_AUTH is disabled.
proxy_password_resetstringOptionalPresent only when SITE_PACKAGE_BASED_AUTH is disabled.
ordersOrder[]OptionalThe user's package orders, including inactive orders. Each order contains its own data allowance, usage, ledgers, and proxy credentials. An empty list means the user has no orders.
typeUserCreateRequest18 fields

Fields accepted when a reseller or administrator creates a customer account.

FieldTypeRequirementDescription
emailstringOptionalUser's email address. Must be unique if provided.
usernamestringRequiredUnique username for the account. Must be 4-128 characters.
passwordstringRequiredAccount password. Must be 8-128 characters long.
first_namestringOptionalUser's first name.
last_namestringOptionalUser's last name.
countrystringOptionalUser's country of residence.
statestringOptionalUser's state or province.
citystringOptionalUser's city.
addressstringOptionalUser's street address.
zipstringOptionalUser's postal/ZIP code.
blocked_domainsstring[]OptionalList of domains to block for this user.
allowed_ipsstring[]OptionalList of source IP addresses allowed for this user. The maximum list size is configured per deployment.
connection_limitnumberOptionalMaximum number of concurrent connections allowed for the user.
is_resellerbooleanOptionalWhether the user should have reseller privileges. Only superusers can create resellers.
is_top_levelbooleanOptionalSuperuser only: true creates an independent account with no parent. False (default) creates a sub-user under the caller.
datanumberOptionalInitial integer-byte data amount. With package_id, a normal sub-user receives a virtual quota from the caller's existing root order; is_top_level=true provisions a separate paid purchase. Omit both data and package_id to create identity without package access.
package_idstringOptionalProxyRequest package UUID to assign to the user. Headless integrations resolve it from their local product mapping.
metaRecord<string, unknown>OptionalAdditional metadata for the user. Maximum 50 fields.
typeUserCurrency2 fields
FieldTypeRequirementDescription
codestringRequired—
symbolstringRequired—
typeUserPasswordResetRequestRequest1 fields
FieldTypeRequirementDescription
package_idstringOptionalPackage whose order's proxy password should be rotated.

V

typeVerifyOTPRequest2 fields
FieldTypeRequirementDescription
challengestringRequired—
codestringRequired—

W

typeWebhookCreated9 fields
FieldTypeRequirementDescription
idstringOptional—
typeWebhookScopeEnumOptionalContext in which this webhook operates. Determines which events are delivered. User events scoped to the associated user account Reseller events scoped to the reseller and their sub-accounts System platform-wide system events * `user` - User * `reseller` - Reseller * `system` - System
endpointstringRequiredHTTPS URL that receives webhook POST requests when events are triggered. https://example.com/webhooks/proxy The endpoint must be publicly accessible and respond within the configured read timeout.
secretstringOptionalSecret used to sign each webhook payload. The receiving endpoint should verify the signature to confirm the request originated from this platform. Auto-generated if left blank. Store this value securely on the receiving end.
read_timeoutnumberOptionalMaximum time to wait for the endpoint to return a response. Requests that exceed this limit are treated as failed and may be retried.
write_timeoutnumberOptionalMaximum time to wait while sending the payload to the endpoint. Requests that exceed this limit are treated as failed and may be retried.
retriesnumberOptionalNumber of additional delivery attempts after an initial failure. Set to 0 to disable retries. 3 → up to 4 total delivery attempts
retry_timeoutnumberOptionalHow long to wait before each retry attempt after a failed delivery. 10 → retry after 10 seconds
createdstringRequired—
typeWebhookCreateRequest6 fields
FieldTypeRequirementDescription
typeWebhookScopeEnumRequired—
endpointstringRequired—
read_timeoutnumberOptional—
write_timeoutnumberOptional—
retriesnumberOptional—
retry_timeoutnumberOptional—
typeWebhookList8 fields
FieldTypeRequirementDescription
idstringOptional—
typeWebhookScopeEnumOptionalContext in which this webhook operates. Determines which events are delivered. User events scoped to the associated user account Reseller events scoped to the reseller and their sub-accounts System platform-wide system events * `user` - User * `reseller` - Reseller * `system` - System
endpointstringRequiredHTTPS URL that receives webhook POST requests when events are triggered. https://example.com/webhooks/proxy The endpoint must be publicly accessible and respond within the configured read timeout.
read_timeoutnumberOptionalMaximum time to wait for the endpoint to return a response. Requests that exceed this limit are treated as failed and may be retried.
write_timeoutnumberOptionalMaximum time to wait while sending the payload to the endpoint. Requests that exceed this limit are treated as failed and may be retried.
retriesnumberOptionalNumber of additional delivery attempts after an initial failure. Set to 0 to disable retries. 3 → up to 4 total delivery attempts
retry_timeoutnumberOptionalHow long to wait before each retry attempt after a failed delivery. 10 → retry after 10 seconds
createdstringRequired—
enumWebhookScopeEnum0 fields

* `user` - User * `reseller` - Reseller * `system` - System

No configurable fields.