Skip to content

CUSTOMER API DOCUMENTATION

Read plan access and trial balance.

Check whether your automation has proxy access before configuring a pool or starting a workload.

ProxySight docsUpdated
On this page

Read your account and subscription

GET/api/v1.0/customer/account
Returns account status, the effective tier, current subscription details and measured trial consumption.

Authorization: Bearer <PS_API_KEY>120 requests / minute / account

The free trial is 1,000,000,000 bytes (1 GB). A paid plan uses its own port/thread allowance; trial counters remain available as account history.

application/json
Example response
{
  "account": {
    "id": 7,
    "email": "[email protected]",
    "username": "casey",
    "role": "customer",
    "emailVerified": true,
    "status": "ACTIVE",
    "createdAt": "2026-10-20T10:00:00+00:00",
    "providers": [],
    "canEditCredentials": true,
    "tier": "premium",
    "trial": {
      "active": false,
      "used": true,
      "limitBytes": 1000000000,
      "usedBytes": 1000000000,
      "requests": 2500
    },
    "plan": {
      "id": "growth",
      "autoRenew": true,
      "paymentProvider": "stripe",
      "amountCents": 6000,
      "subscriptionId": "sub_example",
      "name": "Growth",
      "status": "active",
      "concurrency": 500,
      "ports": 500,
      "billingPeriod": "monthly",
      "expiresAt": "2026-11-24T10:00:00+00:00"
    }
  }
}
Response fields 4 fields
FieldMeaning
account.tierstringpremium for a current paid plan, otherwise trial while the free allowance remains, otherwise user.
account.planobjectPlan name/status, ports, concurrency, billing period, amountCents, renewal preference and expiresAt.
account.trialobjectactive, used, limitBytes, usedBytes and requests. Remaining trial bytes are max(0, limitBytes − usedBytes).
account.emailVerified / statusboolean / stringAccount verification and availability. The key must belong to an active verified account.
Errors & recovery 3 cases
HTTPWhat happenedWhat to do
401The API key is missing, revoked, or its account is unavailable.Use the current Bearer key from Settings → API key.
429The account request limit was reached.Wait for the Retry-After header before retrying.
500The request could not be completed.Retry reads with backoff. After a write, read the saved state before sending it again.

Use the fields to decide what happens next

ResponseYour application can
tier: premiumUse the paid allowance while the plan is active and expiresAt is in the future.
tier: trial; trial.active: trueStart using the trial while usedBytes remains below limitBytes.
tier: userShow a choose-plan action; configuration writes and export will be denied.
plan.autoRenew: false with current paid accessContinue through the paid-through date; renewal is not scheduled.

Keep billing actions in the dashboard

Purchase, payment details, cancellation and upgrade quotes are handled in the dashboard. The customer API reads the resulting plan; it does not create charges or change renewal settings.

Common questions

Is plan.status alone enough to decide access?

Use the effective tier and saved proxy access response, and check plan expiry. A stored plan name or past subscription does not by itself grant current proxy access.

Need help with this guide?Send us your question