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

# 신원 확인 문서

> API가 허용하는 신원 확인 문서와 각 문서에 대해 전송해야 하는 정확한 파일 키를 확인하세요.

[인증 만들기](https://docs.whop.com/ko/api-reference/verifications/create-verification.md) 요청에 신원 확인 문서 사진을 보내 API만으로 사람을 인증하세요. 호스팅 세션도, 후속 호출도 필요 없습니다. `POST` 한 번 후 결과를 폴링하면 됩니다.

## 전송할 파일

사진 속 문서와 일치하는 `document_type`을 선택하세요. 이 값에 따라 `documents` 객체에 포함해야 하는 키가 정확히 결정됩니다. 더도 덜도 아닌 딱 그 키들입니다.

| `document_type` | 필수 `documents` 키 |
| - | - |
| `id_card` | `id_card_front`, `id_card_back`, `selfie` |
| `drivers` | `drivers_front`, `drivers_back`, `selfie` |
| `residence_permit` | `residence_permit_front`, `residence_permit_back`, `selfie` |
| `passport` | `passport_front`, `selfie` |

모든 값은 파일의 원시 바이트를 base64로 인코딩한 것입니다.

```python theme={null}
import base64

def b64(path):
    with open(path, "rb") as f:
        return base64.b64encode(f.read()).decode()
```

## 파일 규칙

* JPEG(Joint Photographic Experts Group), PNG(Portable Network Graphics) 또는 PDF. Whop은 파일의 실제 바이트로 유형을 감지하므로 확장자는 중요하지 않습니다.
* `selfie`는 본인 얼굴이 나온 JPEG 또는 PNG 사진이어야 합니다.
* 파일당 최대 5MB이며, 인코딩 전 크기로 측정합니다.
* 전체 세트를 한 번의 요청으로 보내세요. 파일이 누락되었거나, 너무 크거나, 읽을 수 없으면 정확한 키를 명시한 오류와 함께 전체 요청이 실패합니다. 해당 파일을 수정하고 같은 요청을 다시 보내세요. 일부만 제출되는 경우는 절대 없습니다.

## 전체 예시

```bash theme={null}
curl -X POST "https://api.whop.com/api/v1/verifications?account_id=biz_XXXXXXXX" \
  -H "Authorization: Bearer $WHOP_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"first_name\": \"Jane\",
    \"last_name\": \"Doe\",
    \"date_of_birth\": \"1990-01-01\",
    \"country\": \"US\",
    \"phone\": \"+15551234567\",
    \"tax_identification_number\": \"123456789\",
    \"address\": { \"line1\": \"123 Main St\", \"city\": \"Austin\", \"state\": \"TX\", \"postal_code\": \"73301\" },
    \"business_website\": \"https://example.com\",
    \"document_type\": \"drivers\",
    \"documents\": {
      \"drivers_front\": \"$(base64 -i front.jpg)\",
      \"drivers_back\": \"$(base64 -i back.jpg)\",
      \"selfie\": \"$(base64 -i selfie.jpg)\"
    }
  }"
```

`201`은 Whop이 모든 문서를 수락하고 검토를 시작했다는 뜻입니다. 응답의 `required_documents`에는 각 키가 `submitted`로 표시됩니다. `status`가 `approved` 또는 `rejected`가 될 때까지 [인증 조회](https://docs.whop.com/ko/api-reference/verifications/retrieve-verification.md)를 폴링하세요.

> [!NOTE]
>
> `business_website`는 선택 사항입니다. 생략하면 지급 설정에 계정의 whop.com 페이지가 사용됩니다. 값을 보내는 경우 외부 사이트나 소셜 링크여야 합니다. Whop 스토어 페이지는 거부됩니다.

## Whop이 문서를 거부하는 경우

검토자가 사진을 수락할 수 없으면 `status`가 `action_required`로 돌아가고, 거부된 키가 `required_documents`에 `rejection_reason`과 함께 `pending_upload`로 표시됩니다. 더 나은 사진으로 같은 인증 만들기 요청을 다시 보내세요. 검토는 자동으로 재개됩니다.

## 국가별 지원 범위

Whop은 대부분의 국가에 있는 사람에 대해 `id_card`, `drivers`, `passport`를 허용합니다. 아래 표는 예외를 나열합니다. 이 표에 있는 국가의 경우 나열된 값만 사용할 수 있습니다. 그 외의 값은 앞서 설명한 거부 흐름을 통해 반환됩니다.

| 국가 | 허용되는 `document_type` 값 |
| - | - |
| `AD` | `drivers`, `residence_permit`, `passport` |
| `AI` | `drivers`, `passport` |
| `AQ` | `passport` |
| `AS` | `drivers`, `passport` |
| `CC` | `id_card`, `passport` |
| `CK` | `drivers`, `passport` |
| `CX` | `drivers`, `passport` |
| `EH` | `passport` |
| `ER` | `id_card`, `passport` |
| `FK` | `passport` |
| `FM` | `drivers`, `residence_permit`, `passport` |
| `FO` | `drivers`, `passport` |
| `GF` | `id_card`, `residence_permit`, `passport` |
| `GL` | `drivers`, `passport` |
| `HM` | `passport` |
| `KY` | `drivers`, `passport` |
| `MS` | `drivers`, `residence_permit`, `passport` |
| `NF` | `passport` |
| `PM` | `id_card`, `passport` |
| `SH` | `passport` |
| `SJ` | `passport` |
| `TF` | `passport` |
| `TK` | `drivers`, `passport` |
| `TV` | `drivers`, `passport` |
| `VA` | `passport` |
| `WF` | `id_card`, `passport` |
| `YT` | `id_card`, `passport` |

Whop은 대부분의 국가에서 `residence_permit`도 허용하지만, 지원 범위는 더 좁습니다. 앞의 표 외에도 다음 국가에 있는 사람에 대해서는 이를 허용하지 **않습니다**.

`AG`, `AW`, `BB`, `BF`, `BI`, `BL`, `BZ`, `CV`, `CW`, `DM`, `GG`, `GI`, `GN`, `GS`, `GU`, `GY`, `IM`, `IO`, `JE`, `KI`, `KM`, `LC`, `LR`, `MF`, `ML`, `MP`, `MQ`, `MU`, `NC`, `NR`, `NU`, `NZ`, `PF`, `PG`, `PN`, `PR`, `PS`, `PW`, `SB`, `SC`, `SM`, `SR`, `ST`, `SX`, `SY`, `SZ`, `TC`, `TL`, `TO`, `VC`, `VI`, `WS`

Whop은 다음 국가에 있는 사람에게 신원 인증을 제공하지 않으며 모든 문서 유형을 거부합니다.

`AF`(아프가니스탄), `BY`(벨라루스), `CU`(쿠바), `HT`(아이티), `IQ`(이라크), `IR`(이란), `KP`(북한), `LY`(리비아), `MM`(미얀마), `MZ`(모잠비크), `RU`(러시아), `SD`(수단), `SO`(소말리아), `SS`(남수단)

> [!NOTE]
>
> 이 표는 2026년 7월 기준 Whop의 인증 구성을 반영합니다. 국가별 허용 여부는 검토 중에 적용되므로, 해당 사람의 국가에서 유효하지 않은 문서 유형은 사전 오류가 아니라 `rejection_reason`과 함께 실패합니다.


## Related topics

- [인증 RFI 처리하기](https://docs.whop.com/ko/developer/verification/rfis.md)
- [Verifications API](https://docs.whop.com/ko/api-reference/verifications/verification.md)
- [KYC로 사용자 신원 인증하기](https://docs.whop.com/ko/developer/verification/overview.md)
