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

# Bir Doğrulamayı Güncelleme veya Silme

> Doğrulamadan önce kimlik alanlarını güncelleyin veya bir doğrulamayı tamamen kaldırın.

## Bir doğrulamayı güncelleyin

Whop'un henüz onaylamadığı bir doğrulamadaki alanları güncelleyin. Kullanıcı Müşterini Tanı (KYC) doğrulamasını tamamlamadan önce önceden doldurulmuş verileri düzeltmek için bunu kullanın.

```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"
  }'
```

### Güncellenebilir alanlar

| Alan | Açıklama |
| - | - |
| `first_name` | Yasal ad |
| `last_name` | Yasal soyad |
| `date_of_birth` | Uluslararası Standardizasyon Örgütü (ISO) tarihi |
| `country` | ISO alpha-2 ülke kodu |
| `personal_address` | Yerleşim adresi nesnesi |
| `business_name` | Yasal işletme adı |
| `business_address` | Kayıtlı işletme adresi |
| `business_structure` | Yasal tüzel kişilik yapısı; tüm değerler ve ülkeleri [İşletme yapıları](https://docs.whop.com/tr/developer/verification/business-structures.md) sayfasındadır |

> [!WARNING]
>
> Zaten `approved` durumundaki bir doğrulamayı güncelleyemezsiniz. Kimlik verileri doğrulandıktan sonra kilitlenir. Baştan başlamanız gerekiyorsa onu silin ve yeni bir tane oluşturun.

## Bir doğrulamayı silin

Bir doğrulamayı bir hesaptan kaldırın. Whop verileri saklar ancak doğrulamayı ayırır ve listeden kaldırır.

```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
}
```

Sildikten sonra, yeni bir doğrulamayla sıfırdan başlamak için `POST /api/v1/verifications` çağrısını yapın.

> [!NOTE]
>
> Silme işlemi devam eden bir KYC oturumunu iptal etmez; yalnızca doğrulama bağlantısını hesaptan kaldırır. Oturumun süresi kendiliğinden dolar.

## Bir doğrulamayı yeniden başlatın

Whop bir kullanıcının KYC doğrulamasını reddettiyse veya kullanıcının bunu yeniden yapması gerekiyorsa, silip yeniden oluşturmanız gerekmez. Create çağrısını `restart: true` ile yapın:

```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
  }'
```

Bu, eski oturumu bırakır ve size yeni bir `session_url` verir.

## Kimlik doğrulama

Tüm yazma uç noktaları, `identity:write` kapsamına sahip bir Account API anahtarı gerektirir.

### Hatalar

| Durum | Mesaj | Ne zaman |
| - | - | - |
| `400` | `Cannot update an approved verification.` | Profil zaten doğrulanmış |
| `400` | `at least one field is required` | Boş istek gövdesi |
| `400` | `Whop can't support users in {place} because it is a sanctioned jurisdiction.` (kod `address_country_sanctioned`) | `personal_address` veya `business_address`, [yaptırım uygulanan bir ülke veya bölgede](https://docs.whop.com/tr/trust-and-safety/trust-safety-overview/sanctioned-countries.md) |
| `401` | — | API anahtarı eksik veya geçersiz |
| `403` | — | API anahtarında `identity:write` kapsamı yok |
| `404` | `Verification not found` | `idpf_` kimliği mevcut değil veya görünür değil |


## Related topics

- [Kullanıcı Kimliklerini KYC ile Doğrulayın](https://docs.whop.com/tr/developer/verification/overview.md)
- [Eski faturalardan geçiş](https://docs.whop.com/tr/developer/guides/migrate-from-legacy-invoices.md)
- [Faturalar](https://docs.whop.com/tr/developer/guides/invoices.md)
