ARNPROXY

Refresh package snapshot; no GB purchase

POST/account/api/v1/residential/packages/refresh

Authorization

AuthorizationBearer YOUR_ARNPROXY_API_KEY
Required permissionresidential_management
Acceptapplication/json
Content-Typeapplication/json

Parameters

NameTypeDescription
package_id
bodyRequired
integerARNPROXY package ID from residential_packages, never a supplier package_key.

Request body

Replace YOUR_/FROM_ placeholders with values from the relevant catalog, quote or scope. Examples leave consent false; only approve a real operation intentionally.

request.json
{
    "package_id": "YOUR_PACKAGE_ID"
}

Request example

cURL
printf 'Authorization: Bearer %s\n' "$ARNPROXY_API_KEY" |
  curl --silent --show-error --header @- \
    --header 'Accept: application/json' \
    --connect-timeout 10 --max-time 30 \
    --request POST --header 'Content-Type: application/json' \
    --data-binary @request.json \
    'https://www.arnproxy.com/account/api/v1/residential/packages/refresh'

Examples are not executed on this page. Keep the API key in a server-side environment variable; do not put real keys in URLs or browser code. Prepare request.json for POST examples.

Responses

200Success response
application/json
{
    "ok": true,
    "data": {
        "state": "refreshed",
        "package": {
            "id": 20001,
            "state": "active",
            "snapshot": {
                "source": "arnproxy_records",
                "observed_at": "2030-01-01T12:00:00+00:00",
                "fresh": true,
                "max_age_seconds": 3600,
                "reason": null
            },
            "traffic": {
                "limit_bytes": "10737418240",
                "used_bytes": "1073741824",
                "remaining_bytes": "9663676416"
            },
            "expires_at": "2030-02-01T20:59:59+00:00",
            "rotation_seconds": 0,
            "management_available": false,
            "topup_available": true
        },
        "source": "provider_verified_snapshot",
        "provider_get_requests": 1,
        "provider_write_requests": 0,
        "snapshot_rows_updated": 1,
        "balance_changes": 0,
        "purchases": 0,
        "customer_proxy_expiry_changes": 0
    },
    "meta": {
        "request_id": "000000000000000000000001",
        "phase": "public_v1",
        "source": "provider_verified_snapshot"
    }
}
Response fields and types
NameTypeDescription
okbooleanSuccess envelope flag; on false inspect error.code.
dataobjectOperation-specific result; examples are illustrative and synthetic.
data.statestringRecord/operation state. accepted is not delivery; completed is not a connection test.
data.packageobjectOperation-specific package value; preserve its demonstrated type and consult the behavior notes.
data.package.idintegerRelevant ARNPROXY record ID; use it instead of the upstream internal ID.
data.package.statestringRecord/operation state. accepted is not delivery; completed is not a connection test.
data.package.snapshotobjectPackage snapshot origin/time/freshness; stale snapshots do not grant management access.
data.package.snapshot.sourcestringData source; local records and a live provider lookup are different evidence.
data.package.snapshot.observed_atstringTimestamp in the API’s returned representation; example dates are synthetic.
data.package.snapshot.freshbooleanWhether the observation satisfies its freshness window.
data.package.snapshot.max_age_secondsintegerMaximum snapshot age allowed for freshness, in seconds.
data.package.snapshot.reasonstring|nullFixed reason code or null, never raw provider error text.
data.package.trafficobjectOperation-specific traffic value; preserve its demonstrated type and consult the behavior notes.
data.package.traffic.limit_bytesstringByte count as a decimal string; avoid precision loss when converting to JavaScript Number.
data.package.traffic.used_bytesstringByte count as a decimal string; avoid precision loss when converting to JavaScript Number.
data.package.traffic.remaining_bytesstringByte count as a decimal string; avoid precision loss when converting to JavaScript Number.
data.package.expires_atstringOperation-specific expires at value; preserve its demonstrated type and consult the behavior notes.
data.package.rotation_secondsintegerRecorded/requested rotation in seconds; Rotating packages and Residential lists have different rules.
data.package.management_availablebooleanAvailability under the result’s conditions/permissions, not a stock or provider guarantee.
data.package.topup_availablebooleanOperation-specific topup available value; preserve its demonstrated type and consult the behavior notes.
data.sourcestringData source; local records and a live provider lookup are different evidence.
data.provider_get_requestsintegerOperation-specific provider get requests value; preserve its demonstrated type and consult the behavior notes.
data.provider_write_requestsintegerOperation-specific provider write requests value; preserve its demonstrated type and consult the behavior notes.
data.snapshot_rows_updatedintegerOperation-specific snapshot rows updated value; preserve its demonstrated type and consult the behavior notes.
data.balance_changesintegerReported effect of this operation; an automatic-renewal setting can cause future separate debits.
data.purchasesintegerOperation-specific purchases value; preserve its demonstrated type and consult the behavior notes.
data.customer_proxy_expiry_changesintegerOperation-specific customer proxy expiry changes value; preserve its demonstrated type and consult the behavior notes.
metaobjectRequest correlation and data-source metadata.
meta.request_idstringThis HTTP request’s correlation ID, not an operation key or order ID.
meta.phasestringOperation-specific phase value; preserve its demonstrated type and consult the behavior notes.
meta.sourcestringData source; local records and a live provider lookup are different evidence.

Error response

HTTP 401 · INVALID_API_KEY
{
  "ok": false,
  "error": { "code": "INVALID_API_KEY" },
  "meta": { "request_id": "000000000000000000000001" }
}

Authentication and validation may reject a request before execution. Consult the error reference and retain request_id when contacting support. Never send keys or passwords. Errors & limits →

Behavior & important notes

  • Package and list IDs are ARNPROXY record IDs, not upstream package keys or list IDs. A stale package snapshot cannot grant access; refresh it with residential_package_refresh when needed.

Search the current language. Close with Esc