Start ID verification

Start verification

You should start a verification in order to receive the client_secret. In order to start a verification, the verification state has to be requested or failed. If the state is failed, you verification_failure_times must be less than max_verification_failure_times.

When you start a verification successfully, the state will become pending.

Start verification request

The start verification request may contain an empty body (or empty JSON object).

**Start verification request

import requests
 
response = requests.post("https://proxy.webshare.io/api/v2/idverification/start/", json={})
response.json()
curl https://proxy.webshare.io/api/v2/idverification/start/" \
  -X POST \
  -d "{}" \
  -H "Content-Type: application/json"

The above command returns the updated verification object.

{
  "id": 1,
  "state": "pending",
  "client_secret": "aabbccc...zz",
  "verification_failure_times": 0,
  "max_verification_failure_times": 0,
  "created_at": "2019-05-09T23:34:00.095501-07:00",
  "updated_at": "2019-05-09T23:34:00.095501-07:00",
  "verified_at": null
}

HTTP request

POST https://proxy.webshare.io/api/v2/idverification/start/