---
title: "Get Active Order"
method: GET
path: "/v1/offline-billing/orders/active"
tags: ["Offline Billing Bridge"]
---

# Get Active Order

`GET /v1/offline-billing/orders/active`

## 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/orders/active`
- 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`)

현재 진행중 주문 조회 (AWAITING_DEPOSIT). 없으면 null.

## 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

- OfflineOrderResponse
  - `order_id` integer, required
  - `order_number` string, required
  - `organization_id` integer, required
  - `env_scope` 'sandbox' | 'real_test' | 'production', required
  - `plan_id` integer, required
  - `billing_term` 'MONTHLY' | 'YEARLY', required
  - `subscription_id` integer, nullable, required
  - `invoice_id` integer, nullable, required
  - `payment_id` integer, nullable, required
  - `total_amount_minor` integer, required
  - `currency` string, required
  - `status` 'AWAITING_DEPOSIT' | 'DEPOSIT_CONFIRMED' | 'EXPIRED' | 'CANCELED', required
  - `depositor_name` string, nullable, required
  - `tax_invoice_required` boolean, required
  - `deposit_bank_name` string, required
  - `deposit_account_number` string, required
  - `deposit_account_holder` string, required
  - `deposit_deadline_at` string, date-time, required
  - `created_at` string, date-time, required
  - `order_kind` 'NEW' | 'RENEWAL'

## 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)
