> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Confirmation Tokens API

> 확인 토큰(Confirmation Token)은 구매자로부터 수집한 결제 수단과 청구 정보에 대한 일회용 단기 참조입니다.

응답에는 기본 결제 자격 증명이 절대 반환되지 않습니다.

Whop Elements는 구매자 대상 수집 흐름에서 토큰을 생성하고 `ctok_` ID를 전달하며, 서버에서 이 ID를 Payments API로 보내면 됩니다. 토큰을 조회하여 결제 수단과 청구 정보 미리보기를 표시하거나 토큰이 아직 사용 가능한지 확인할 수 있습니다.

## 엔드포인트

| 엔드포인트 | 요청 |
| - | - |
| [확인 토큰 조회](https://docs.whop.com/ko/api-reference/confirmation-tokens/retrieve-confirmation-token.md) | GET `/confirmation_tokens/{id}` |

## 속성

**id** `string` *required*

**billing\_address** `object | null` *required*

주소상의 이름을 포함하여 수집된 청구지 주소입니다. 수집되지 않았거나 토큰 계정에 대한 payment:basic:read 권한의 bearer 인증이 없으면 null입니다.

> [accordion] 속성
>
> **city** `string | null` *required*
>
> 도시입니다.
>
> **country** `string | null` *required*
>
> ISO 3166-1 alpha-2 국가 코드입니다.
>
> **line1** `string | null` *required*
>
> 도로명 주소 첫 번째 줄입니다.
>
> **line2** `string | null` *required*
>
> 도로명 주소 두 번째 줄입니다.
>
> **name** `string | null` *required*
>
> 주소상의 이름입니다.
>
> **postal\_code** `string | null` *required*
>
> 우편번호입니다.
>
> **state** `string | null` *required*
>
> 주, 도 또는 지역입니다.

**billing\_details** `object | null` *required*

수집 시 제공된 청구 정보 미리보기로, 이메일, 이름, 국가, 우편번호입니다.

> [accordion] 속성
>
> **country** `string | null` *required*
>
> ISO 3166-1 alpha-2 국가 코드입니다.
>
> **email** `string | null` *required*
>
> 결제 수단 수집 시 제공된 이메일입니다.
>
> **name** `string | null` *required*
>
> 결제 수단상의 이름입니다.
>
> **postal\_code** `string | null` *required*
>
> 우편번호입니다.

**created\_at** `string` *required*

토큰이 생성된 시점으로, ISO 8601 타임스탬프입니다.

**expires\_at** `string` *required*

토큰이 만료되는 시점으로, ISO 8601 타임스탬프입니다. 토큰은 일회용이며 수명이 짧습니다.

**object** `string` *required*

항상 `confirmation_token`입니다.

**payment\_method\_preview** `object` *required*

수집된 결제 수단의 표시 전용 미리보기로, 기본 토큰은 절대 포함되지 않습니다.

> [accordion] 속성
>
> **id** `string | null` *required*
>
> 이 미리보기의 출처인 저장된 결제 수단이며, 구매자가 새 결제 수단을 제공한 경우 `null`입니다.
>
> **bank\_debit** `object`
>
> 카테고리가 `bank_debit`일 때 존재합니다. 계좌에 청구될 때까지 비어 있습니다.
>
> > [accordion] 속성
> >
> > **brand** `string`
> >
> > 소문자 카드 브랜드입니다(예: `visa` 또는 `mastercard`).
> >
> > **fingerprint** `string`
> >
> > 이 특정 카드 번호를 고유하게 식별합니다. 이 토큰으로 저장된 모든 결제 수단의 `fingerprint`와 일치하므로 여러 시도에 걸쳐 카드를 식별할 수 있습니다. 지갑의 경우 기본 카드가 아닌 네트워크 토큰을 식별합니다.
> >
> > **last4** `string`
> >
> > 카드의 마지막 네 자리입니다.
>
> **card** `object`
>
> 카테고리가 `card`일 때의 카드 세부 정보입니다.
>
> > [accordion] 속성
> >
> > **brand** `string`
> >
> > 소문자 카드 브랜드입니다(예: `visa` 또는 `mastercard`).
> >
> > **fingerprint** `string`
> >
> > 이 특정 카드 번호를 고유하게 식별합니다. 이 토큰으로 저장된 모든 결제 수단의 `fingerprint`와 일치하므로 여러 시도에 걸쳐 카드를 식별할 수 있습니다. 지갑의 경우 기본 카드가 아닌 네트워크 토큰을 식별합니다.
> >
> > **last4** `string`
> >
> > 카드의 마지막 네 자리입니다.
>
> **category** `string` *required*
>
> 유형이 속한 계열입니다.
>
> 사용 가능한 옵션: `card`, `wallet`, `bank_debit`, `bank_transfer`, `voucher`, `redirect`, `crypto`, `balance`, `in_app_purchase`, `card_present`, `saved`
>
> **display\_name** `string` *required*
>
> 결제 수단의 사람이 읽을 수 있는 레이블입니다(예: `Visa •••• 4242`).
>
> **saved** `object`
>
> 카테고리가 `saved`일 때 저장된 카드의 세부 정보입니다. 잔액의 경우 존재하지 않습니다.
>
> > [accordion] 속성
> >
> > **brand** `string`
> >
> > 소문자 카드 브랜드입니다(예: `visa` 또는 `mastercard`).
> >
> > **fingerprint** `string`
> >
> > 이 특정 카드 번호를 고유하게 식별합니다. 이 토큰으로 저장된 모든 결제 수단의 `fingerprint`와 일치하므로 여러 시도에 걸쳐 카드를 식별할 수 있습니다. 지갑의 경우 기본 카드가 아닌 네트워크 토큰을 식별합니다.
> >
> > **last4** `string`
> >
> > 카드의 마지막 네 자리입니다.
>
> **type** `string` *required*
>
> 결제 수단 유형입니다(예: `card`, `apple_pay`, `klarna`).
>
> **wallet** `object`
>
> 카테고리가 `wallet`일 때 지갑이 제공한 네트워크 토큰의 세부 정보입니다.
>
> > [accordion] 속성
> >
> > **brand** `string`
> >
> > 소문자 카드 브랜드입니다(예: `visa` 또는 `mastercard`).
> >
> > **fingerprint** `string`
> >
> > 이 특정 카드 번호를 고유하게 식별합니다. 이 토큰으로 저장된 모든 결제 수단의 `fingerprint`와 일치하므로 여러 시도에 걸쳐 카드를 식별할 수 있습니다. 지갑의 경우 기본 카드가 아닌 네트워크 토큰을 식별합니다.
> >
> > **last4** `string`
> >
> > 카드의 마지막 네 자리입니다.

**setup\_future\_usage** `string | null` *required*

수집 시 엘리먼트가 표시한 저장 동의 상태로, `off_session`, `on_session` 또는 `null`입니다. 여기에서 증명된 경우에만 확인 시 저장할 수 있습니다.

**status** `string` *required*

사용될 때까지 `pending`이며, 사용된 후에는 `consumed`가 됩니다. 짧은 수명이 지나면 `expired`가 됩니다. `pending` 토큰만 청구할 수 있습니다.

사용 가능한 옵션: `pending`, `consumed`, `expired`

```json ConfirmationToken theme={null}
{
	"id": "ctok_xxxxxxxxxxxxxx",
	"object": "confirmation_token",
	"status": "pending",
	"payment_method_preview": {
		"id": null,
		"type": "card",
		"category": "card",
		"display_name": "Visa •••• 4242",
		"card": {
			"brand": "visa",
			"fingerprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
			"last4": "4242"
		}
	},
	"setup_future_usage": "off_session",
	"billing_details": {
		"email": "buyer@example.com",
		"name": "Buyer Name",
		"country": "US",
		"postal_code": "78701"
	},
	"billing_address": null,
	"created_at": "2026-08-28T12:00:00.000Z",
	"expires_at": "2026-08-28T12:15:00.000Z"
}
```


## Related topics

- [Retrieve Confirmation Token](https://docs.whop.com/ko/api-reference/confirmation-tokens/retrieve-confirmation-token.md)
- [Payments](https://docs.whop.com/ko/elements/latest/payments/overview.md)
- [API 안정성](https://docs.whop.com/ko/api-reference/stability.md)
