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

# Kimlik Belgeleri

> API'nin hangi kimlik belgelerini kabul ettiği ve her biri için gönderilecek tam dosya anahtarları.

Bir kişinin kimlik belgesi fotoğraflarını [Create Verification](https://docs.whop.com/tr/api-reference/verifications/create-verification.md) isteğinde göndererek onu tamamen API üzerinden doğrulayın. Barındırılan oturum yok, takip çağrısı yok: tek bir `POST`, ardından sonuç için yoklama yapın.

## Hangi dosyaların gönderileceği

Fotoğraftaki belgeyle eşleşen `document_type` değerini seçin. Bu değer, `documents` nesnesinin tam olarak hangi anahtarları içermesi gerektiğini belirler; ne fazla ne eksik.

| `document_type` | Gerekli `documents` anahtarları |
| - | - |
| `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` |

Her değer, dosyanın base64 ile kodlanmış ham baytlarıdır:

```python theme={null}
import base64

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

## Dosya kuralları

* Joint Photographic Experts Group (JPEG), Portable Network Graphics (PNG) veya PDF. Whop türü dosyanın gerçek baytlarından algılar, bu nedenle uzantı önemli değildir.
* `selfie`, kişinin yüzünün JPEG veya PNG biçiminde bir fotoğrafı olmalıdır.
* Dosya başına en fazla 5MB, kodlamadan önce ölçülür.
* Setin tamamını tek bir istekte gönderin. Eksik, çok büyük veya okunamayan bir dosya, tam anahtarı belirten bir hatayla tüm isteğin başarısız olmasına neden olur; o dosyayı düzeltin ve aynı isteği tekrar gönderin. Hiçbir zaman kısmi gönderim yapılmaz.

## Tam örnek

```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'un tüm belgeleri kabul ettiği ve incelemeyi başlattığı anlamına gelir; yanıttaki `required_documents` her anahtarı `submitted` olarak listeler. `status` değeri `approved` veya `rejected` olana kadar [Retrieve Verification](https://docs.whop.com/tr/api-reference/verifications/retrieve-verification.md) ile yoklama yapın.

> [!NOTE]
>
> `business_website` isteğe bağlıdır. Atlandığında, ödeme kurulumu için hesabın whop.com sayfası kullanılır. Bir değer gönderirseniz, bu harici bir site veya sosyal medya bağlantısı olmalıdır. Whop mağaza sayfaları reddedilir.

## Whop bir belgeyi reddederse

İnceleyen bir fotoğrafı kabul edemediğinde `status` değeri `action_required` durumuna döner ve reddedilen anahtarlar `required_documents` içinde bir `rejection_reason` ile birlikte `pending_upload` olarak görünür. Aynı Create Verification isteğini daha iyi bir fotoğrafla tekrar gönderin; inceleme otomatik olarak devam eder.

## Ülke kapsamı

Whop, çoğu ülkedeki kişiler için `id_card`, `drivers` ve `passport` kabul eder. Aşağıdaki tablo istisnaları listeler. Bu tablodaki bir ülke için yalnızca listelenen değerler çalışır. Diğer her şey önceki ret akışıyla geri döner.

| Ülke | Kabul edilen `document_type` değerleri |
| - | - |
| `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 çoğu ülkede `residence_permit` da kabul eder, ancak kapsamı daha dardır. Önceki tablonun ötesinde Whop, şu ülkelerdeki kişiler için bunu kabul **etmez**:

`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 bu ülkelerdeki kişilere kimlik doğrulaması sunmaz ve her belge türünü reddeder:

`AF` (Afganistan), `BY` (Belarus), `CU` (Küba), `HT` (Haiti), `IQ` (Irak), `IR` (İran), `KP` (Kuzey Kore), `LY` (Libya), `MM` (Myanmar), `MZ` (Mozambik), `RU` (Rusya), `SD` (Sudan), `SO` (Somali), `SS` (Güney Sudan)

> [!NOTE]
>
> Bu tablo, Whop'un Temmuz 2026 itibarıyla doğrulama yapılandırmasını yansıtır. Ülke kabulü inceleme sırasında uygulanır; bu nedenle kişinin ülkesi için geçerli olmayan bir belge türü, önceden bir hata yerine bir `rejection_reason` ile başarısız olur.


## Related topics

- [Doğrulama RFI'lerini Yönetme](https://docs.whop.com/tr/developer/verification/rfis.md)
- [API sürümleri](https://docs.whop.com/tr/developer/api/versioning.md)
- [Kimlik Profili](https://docs.whop.com/tr/api-reference/legacy/identity-profiles/identity-profile.md)
