---
title: "Renew static proxies and get a payment link"
method: POST
path: "/api/v1/static-proxies/renew"
---

# Renew static proxies and get a payment link

`POST /api/v1/static-proxies/renew`

## Request

- Base URL: `https://ipmusk.com`
- URL: `https://ipmusk.com/api/v1/static-proxies/renew`
- Auth: HTTP bearer

Creates an unpaid renewal order and returns its payment link for the customer to open and pay; nothing is charged by this call. Quote first (POST /static-proxies/renew-quote) and pass the agreed expected_amount_minor: a different current price answers 409 with the new one. The Idempotency-Key header makes a retry return the same order and link.

## Headers

- `Idempotency-Key` string, required

## Request body

- object
  - `proxy_ids` string[], required: Static proxy ids from GET /static-proxies; one location and kind per renewal.
  - `resource_days` union, required: Term in days: 30 or 90.
    - 30
    - 90
  - `expected_amount_minor` integer: The amount_minor the customer agreed to. A different current price is refused with 409 and the new price.
  - `provider` 'stripe' | 'paypal' | 'infini': Payment provider for the link. Default: the first one this deployment offers.

## Response `201`

Renew static proxies and get a payment link

- object
  - `data` object, required
    - `order_id` string, required
    - `checkout_url` string, uri, required
  - `request_id` string, required

## Other responses

- `default`: Any failure: 400 validation_error, 401 authentication_required, 403 forbidden / capability_unavailable, 404 not_found, 409 invalid_state_transition / idempotency_conflict, 422 product_unavailable, 429 rate_limited, 500 internal_error.

---

[API](https://skmtc.dev/ipmusk/apis/ipmusk-customer-api.md) · [All operations](https://skmtc.dev/ipmusk/apis/ipmusk-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ipmusk/apis/ipmusk-customer-api/revisions/89f8b46fda61?raw)
