ARNPROXY

Current price estimate for automatic balance renewal

POST/account/api/v1/auto-renewal/quote

Authorization

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

Parameters

NameTypeDescription
proxy_ids
bodyRequired
integer[]1–1000 unique owned proxy IDs; do not mix product types where a common scope/price is required. Some operations have tighter bounds.
time_id
bodyRequired
integerPeriod/GB-plan ID from the matching catalog/options, not a day/GB count.

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
{
    "proxy_ids": [
        "YOUR_PROXY_ID"
    ],
    "time_id": "FROM_AUTO_RENEWAL_OPTIONS"
}

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/auto-renewal/quote'

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": {
        "proxy_ids": [
            12345
        ],
        "revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "time_id": 101,
        "days": 7,
        "currency": "TRY",
        "total": "10.00",
        "total_minor": 1000,
        "lines": [
            {
                "location_id": 10,
                "country": "Example country",
                "quantity": 1,
                "base_unit_price": "10.0000",
                "unit_price": "10.0000",
                "quantity_discount_rate": "0.00",
                "total_minor": 1000,
                "total": "10.00"
            }
        ],
        "next_renewal_date": "2030-02-01",
        "payment_method": "balance",
        "price_policy": "current_price_at_each_renewal",
        "configuration_available": true,
        "configuration_only": true,
        "immediate_charge": false,
        "promo_applied": false,
        "api_key_revocation_stops_existing_renewals": false,
        "timezone": "Europe/Istanbul"
    },
    "meta": {
        "request_id": "000000000000000000000001",
        "phase": "public_v1",
        "source": "arnproxy_records"
    }
}
Response fields and types
NameTypeDescription
okbooleanSuccess envelope flag; on false inspect error.code.
dataobjectOperation-specific result; examples are illustrative and synthetic.
data.proxy_idsarrayProxy IDs in the scope visible to this account.
data.proxy_ids[]integerProxy IDs in the scope visible to this account.
data.revisionstringFreshness fingerprint to copy unchanged to the corresponding write/price confirmation.
data.time_idintegerLocal period/GB-plan record ID, not a day or GB count.
data.daysintegerPlan duration in days, separate from a GB plan’s traffic amount.
data.currencystringAccount transaction currency: TRY or USD.
data.totalstringMoney amount; preserve the returned string/integer representation for precision.
data.total_minorintegerInteger minor units: 1000 means 10.00 TRY/USD.
data.linesarrayOperation-specific lines value; preserve its demonstrated type and consult the behavior notes.
data.lines[]objectOperation-specific lines value; preserve its demonstrated type and consult the behavior notes.
data.lines[].location_idintegerLocal catalog location or product-type ID.
data.lines[].countrystringOperation-specific country value; preserve its demonstrated type and consult the behavior notes.
data.lines[].quantityintegerSelected or ordered proxy quantity.
data.lines[].base_unit_pricestringOperation-specific base unit price value; preserve its demonstrated type and consult the behavior notes.
data.lines[].unit_pricestringOperation-specific unit price value; preserve its demonstrated type and consult the behavior notes.
data.lines[].quantity_discount_ratestringOperation-specific quantity discount rate value; preserve its demonstrated type and consult the behavior notes.
data.lines[].total_minorintegerInteger minor units: 1000 means 10.00 TRY/USD.
data.lines[].totalstringMoney amount; preserve the returned string/integer representation for precision.
data.next_renewal_datestringSaved renewal day or retry timestamp, not evidence that a debit has occurred.
data.payment_methodstringBalance/card/PayPal method; API configuration management supports balance only.
data.price_policystringOperation-specific price policy value; preserve its demonstrated type and consult the behavior notes.
data.configuration_availablebooleanAvailability under the result’s conditions/permissions, not a stock or provider guarantee.
data.configuration_onlybooleanOperation-specific configuration only value; preserve its demonstrated type and consult the behavior notes.
data.immediate_chargebooleanReported effect of this operation; an automatic-renewal setting can cause future separate debits.
data.promo_appliedbooleanOperation-specific promo applied value; preserve its demonstrated type and consult the behavior notes.
data.api_key_revocation_stops_existing_renewalsbooleanfalse: revoking a key does not disable existing automatic renewal; disable the setting separately.
data.timezonestringTimezone for related date fields; null means no verified timezone.
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

  • These resources only configure existing balance renewal; they do not charge or extend now. The existing cron later renews from balance at the then-current price. Revoking an API key does not disable saved renewal settings; disable them separately. Card/PayPal settings remain website-managed. No promo applies; country-based quantity discounts and full IPv6-order selection remain. Disabling cannot undo started/completed renewals.

Search the current language. Close with Esc