Ir al contenido
UnoPagoDocumentación
Referencia de la APIAccountConnected accounts

Submit a verification document

POST
/v1/accounts/{accountId}/verification

Sends the uploaded file, by its fileKey alone, to UnoPago for review and returns the verification IN_REVIEW. The uploaded file must be there and weigh 10 MB at most; a larger one is deleted and refused. Allowed only when no document was submitted before or the last one was rejected. UnoPago reviews it by hand; the account's payouts are held until it is verified.

Autorización

bearerAuth
headerAutorizaciónBearer <token>

Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.

Parámetros de ruta

accountId*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid
application/json
  1. body
fileKey*string
Longitud1 <= length

Cuerpo de la respuesta

Successful response

application/json
  1. response
status*|

null until a document is submitted. IN_REVIEW while UnoPago reviews it, then VERIFIED or REJECTED.

requiredDocumentType*|

The document to upload, from the account's nationalId: RIF for a company, CEDULA for a person. null while the account has no nationalId.

rejectionReason*|

Why UnoPago rejected the document. Set only when REJECTED.

submittedAt*string|null
Ejemplo de solicitud
curl -X POST 'https://api.unopago.com/v1/accounts/string/verification' \  -H 'Content-Type: application/json' \  -d '{  "fileKey": "string"}'
Ejemplo de respuesta
{  "status": "IN_REVIEW",  "requiredDocumentType": "CEDULA",  "rejectionReason": "string",  "submittedAt": "string"}