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

# Actualizar o eliminar una verificación

> Actualiza los campos de identidad antes de la verificación o elimina una verificación por completo.

## Actualizar una verificación

Actualiza los campos de una verificación que Whop aún no ha aprobado. Úsalo para corregir datos rellenados previamente antes de que el usuario complete la verificación Know Your Customer (KYC).

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

### Campos actualizables

| Campo | Descripción |
| - | - |
| `first_name` | Nombre legal |
| `last_name` | Apellido legal |
| `date_of_birth` | Fecha en formato de la Organización Internacional de Normalización (ISO) |
| `country` | Código de país ISO alfa-2 |
| `personal_address` | Objeto de dirección de residencia |
| `business_name` | Nombre legal del negocio |
| `business_address` | Dirección registrada del negocio |
| `business_structure` | Estructura de la entidad jurídica: todos los valores y sus países en [Estructuras empresariales](https://docs.whop.com/es/developer/verification/business-structures.md) |

> [!WARNING]
>
> No puedes actualizar una verificación que ya está `approved`. Los datos de identidad quedan bloqueados una vez verificados. Elimínala y crea una nueva si necesitas empezar de cero.

## Eliminar una verificación

Quita una verificación de una cuenta. Whop conserva los datos, pero desvincula la verificación y la elimina de la lista.

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

Después de eliminarla, llama a `POST /api/v1/verifications` para empezar de cero con una nueva verificación.

> [!NOTE]
>
> Eliminarla no cancela una sesión de KYC en curso: quita el vínculo de la verificación con la cuenta. La sesión caduca por sí sola.

## Reiniciar una verificación

Si Whop rechazó la verificación KYC de un usuario o este necesita repetirla, no hace falta eliminarla y volver a crearla. Llama a create con `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
  }'
```

Esto abandona la sesión anterior y te da una `session_url` nueva.

## Autenticación

Todos los endpoints de escritura requieren una clave de API de Account con el scope `identity:write`.

### Errores

| Estado | Mensaje | Cuándo |
| - | - | - |
| `400` | `Cannot update an approved verification.` | El perfil ya está verificado |
| `400` | `at least one field is required` | Cuerpo de la solicitud vacío |
| `400` | `Whop can't support users in {place} because it is a sanctioned jurisdiction.` (código `address_country_sanctioned`) | `personal_address` o `business_address` está en un [país o región sancionados](https://docs.whop.com/es/trust-and-safety/trust-safety-overview/sanctioned-countries.md) |
| `401` | — | Falta la clave de API o no es válida |
| `403` | — | La clave de API no tiene el scope `identity:write` |
| `404` | `Verification not found` | El ID `idpf_` no existe o no es visible |


## Related topics

- [Verificación](https://docs.whop.com/es/api-reference/legacy/verifications/verification.md)
- [Verifica la identidad de los usuarios con KYC](https://docs.whop.com/es/developer/verification/overview.md)
- [Estructuras empresariales](https://docs.whop.com/es/developer/verification/business-structures.md)
