---
title: "Get Offline Renewal Offer"
method: GET
path: "/v1/offline-billing/renewal-offer"
tags: ["Offline Billing Bridge"]
---

# Get Offline Renewal Offer

`GET /v1/offline-billing/renewal-offer`

## Request

- Base URL: `https://api.xdata.kr` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xdata.kr/v1/offline-billing/renewal-offer`
- Auth: one of:
  - HTTP basic
  - OAuth 2 (authorization code, authorization URL `https://api.xdata.kr/oauth/authorize`, token URL `https://api.xdata.kr/oauth/token`)

지금 이 조직이 무통장 구독을 연장할 수 있는가(서버가 정한다) + 연장하면 새 기간 끝 · 금액. 못 하면 ``eligible=false`` + 이유.

## Query parameters

- `env_scope` 'production' | 'real_test' | 'sandbox', nullable: 환경을 고릅니다. 값은 production · real_test · sandbox 중 하나입니다. 경로 접두(/v1/sandbox/... · /v1/test/... · /v1/production/...) · X-Env-Scope 헤더 · env_scope 쿼리 가운데 한 통로로 반드시 보내야 합니다. 빼면 자동으로 채우지 않고 거절하며, 두 통로에 서로 다른 값을 담아도 거절합니다. 거절은 HTTP 422 이고 오류 코드는 VALIDATION_ENV_SCOPE_MISMATCH 입니다.

## Headers

- `Authorization` string, nullable
- `X-Env-Scope` 'production' | 'real_test' | 'sandbox', nullable: 환경을 고릅니다. 값은 production · real_test · sandbox 중 하나입니다. 경로 접두(/v1/sandbox/... · /v1/test/... · /v1/production/...) · X-Env-Scope 헤더 · env_scope 쿼리 가운데 한 통로로 반드시 보내야 합니다. 빼면 자동으로 채우지 않고 거절하며, 두 통로에 서로 다른 값을 담아도 거절합니다. 거절은 HTTP 422 이고 오류 코드는 VALIDATION_ENV_SCOPE_MISMATCH 입니다.

## Response `200`

Successful Response

- OfflineRenewalOfferResponse: 지금 이 조직이 무통장 구독을 연장할 수 있는가 + 연장하면 어떻게 되는가. ``eligible=false`` 면 ``reason`` 이 이유다.
  - `eligible` boolean, required
  - `reason` 'NOT_SUBSCRIBED' | 'NOT_ACTIVE' | 'NOT_OFFLINE' | 'WINDOW_NOT_OPEN' | 'WINDOW_CLOSED' | 'ORDER_PENDING' | 'PLAN_UNAVAILABLE', nullable
  - `subscription_id` integer, nullable
  - `plan_id` integer, nullable
  - `billing_term` 'MONTHLY' | 'YEARLY', nullable
  - `current_period_end` string, date-time, nullable
  - `new_period_end` string, date-time, nullable
  - `window_opens_at` string, date-time, nullable
  - `window_closes_at` string, date-time, nullable
  - `total_amount_minor` integer, nullable
  - `currency` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xdata/apis/xboss-api.md) · [All operations](https://skmtc.dev/xdata/apis/xboss-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xdata/apis/xboss-api/revisions/816de78950db?raw)
