Saltar al contenido principal
POST
/
v1
/
verification
Create Verification
import requests

url = "https://api.diga.io/v1/verification/"

files = { "signed_document": ("example-file", open("example-file", "rb")) }
payload = { "notification_email": "jsmith@example.com" }
headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, data=payload, files=files, headers=headers)

print(response.text)
{
  "verification_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cuerpo

multipart/form-data
signed_document
file
requerido

Signed verification document (PDF)

notification_email
string<email> | null

The email to notify once the verification is reviewed.

Respuesta

Successful Response

Response schema after creating a verification.

verification_id
string<uuid>
requerido