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

# 인증 업데이트 또는 삭제

> 인증 전에 신원 필드를 업데이트하거나 인증을 완전히 제거하세요.

## 인증 업데이트하기

Whop이 아직 승인하지 않은 인증의 필드를 업데이트하세요. 사용자가 KYC(Know Your Customer) 인증을 완료하기 전에 미리 입력된 데이터를 수정할 때 사용합니다.

```bash cURL theme={null}
curl -X PATCH https://api.whop.com/api/v1/verifications/idpf_xxxxxxxxxxxxx \
  -H "Authorization: Bearer $WHOP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "Janet",
    "last_name": "Smith"
  }'
```

### 업데이트 가능한 필드

| 필드 | 설명 |
| - | - |
| `first_name` | 법적 이름 |
| `last_name` | 법적 성 |
| `date_of_birth` | ISO(International Organization for Standardization) 날짜 |
| `country` | ISO alpha-2 국가 코드 |
| `personal_address` | 거주지 주소 객체 |
| `business_name` | 법적 사업체 이름 |
| `business_address` | 등록된 사업체 주소 |
| `business_structure` | 법인 구조. 모든 값과 해당 국가는 [사업체 구조](https://docs.whop.com/ko/developer/verification/business-structures.md)에 있습니다 |

> [!WARNING]
>
> 이미 `approved` 상태인 인증은 업데이트할 수 없습니다. 인증이 완료되면 신원 데이터가 잠깁니다. 처음부터 다시 시작해야 한다면 삭제한 뒤 새로 만드세요.

## 인증 삭제하기

계정에서 인증을 제거합니다. Whop은 데이터를 보관하지만 인증을 분리하고 목록에서 제거합니다.

```bash cURL theme={null}
curl -X DELETE https://api.whop.com/api/v1/verifications/idpf_xxxxxxxxxxxxx \
  -H "Authorization: Bearer $WHOP_API_KEY"
```

```json Response theme={null}
{
  "id": "idpf_xxxxxxxxxxxxx",
  "deleted": true
}
```

삭제한 후 `POST /api/v1/verifications`를 호출해 새 인증으로 새로 시작하세요.

> [!NOTE]
>
> 삭제해도 진행 중인 KYC 세션은 취소되지 않습니다. 계정에서 인증 링크만 제거됩니다. 세션은 자동으로 만료됩니다.

## 인증 다시 시작하기

Whop이 사용자의 KYC 인증을 거절했거나 사용자가 다시 진행해야 하는 경우, 삭제하고 다시 만들 필요가 없습니다. `restart: true`로 생성을 호출하세요.

```bash cURL theme={null}
curl -X POST https://api.whop.com/api/v1/verifications \
  -H "Authorization: Bearer $WHOP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "biz_xxxxxxxxxxxxx",
    "kind": "individual",
    "restart": true
  }'
```

이렇게 하면 이전 세션이 폐기되고 새 `session_url`이 제공됩니다.

## 인증

모든 쓰기 엔드포인트에는 `identity:write` 스코프가 있는 계정 API 키가 필요합니다.

### 오류

| 상태 | 메시지 | 발생 시점 |
| - | - | - |
| `400` | `Cannot update an approved verification.` | 프로필이 이미 인증됨 |
| `400` | `at least one field is required` | 요청 본문이 비어 있음 |
| `400` | `Whop can't support users in {place} because it is a sanctioned jurisdiction.` (코드 `address_country_sanctioned`) | `personal_address` 또는 `business_address`가 [제재 대상 국가 또는 지역](https://docs.whop.com/ko/trust-and-safety/trust-safety-overview/sanctioned-countries.md)에 있음 |
| `401` | — | API 키가 없거나 유효하지 않음 |
| `403` | — | API 키에 `identity:write` 스코프가 없음 |
| `404` | `Verification not found` | `idpf_` ID가 존재하지 않거나 표시되지 않음 |


## Related topics

- [KYC로 사용자 신원 인증하기](https://docs.whop.com/ko/developer/verification/overview.md)
- [Verification](https://docs.whop.com/ko/api-reference/legacy/verifications/verification.md)
- [사업체 구조](https://docs.whop.com/ko/developer/verification/business-structures.md)
