# ReCaptchaV2Task

Selesaikan jenis captcha ini.

## Jenis tugas

`ReCaptchaV2Task`

## Sinkron atau pemeriksaan berkala

Asinkron, periksa `/getTaskResult` secara berkala

## Parameter

| Kolom        | Tipe   | Wajib | Catatan                    |
| ------------ | ------ | ----- | -------------------------- |
| `type`       | string | ya    | `ReCaptchaV2Task` |
| `websiteURL` | string | ya    | URL http(s) publik         |
| `websiteKey` | string | ya    | Kunci situs                |
| `enterprise` | bool   | tidak | Bawaan `false`             |
| `isInvisible` | bool | tidak | Bawaan `false` |
| `proxy` | string | tidak | Proksi browser |

## Permintaan minimal

```json
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "ReCaptchaV2Task",
    "websiteURL": "https://www.example.com/register",
    "websiteKey": "SITE_KEY"
  }
}
```

## Hasil berhasil

```json
{
  "gRecaptchaResponse": "TOKEN",
  "userAgent": "...",
  "expiresInMs": 120000
}
```

## Kegagalan umum

`ERROR_CAPTCHA_UNSOLVABLE`, `ERROR_BAD_REQUEST`, `ERROR_TASK_NOT_SUPPORTED`

Source: https://kaptra.ai/id/docs/task-types/recaptcha-v2
