Upload Onboarding Document File by ID
POST/v1/users/onboardings/:id/documents
Upload the onboarding document file (max size: 25 MB). There are two ways to complete onboarding: 1) Provide selfie, document_front, document_back and document_file_type, or 2) Provide only selfie and document_id. The process is finished once all required documents are submitted based on the chosen method.
Request
Path Parameters
Onboarding ID.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR
, en-US
]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
- multipart/form-data
Body
required
Possible values: [rg
, cnh
]
Document type specified for document_front and document_back. Required when not using document_id. Possible values: rg,cnh.
Document ID for digital identity validation. When provided, only selfie is required and document_front/document_back are not needed. Example: serpro-ekyc
Front side of the document. Required when document_id is not provided.
Back side of the document. Required when document_id is not provided.
User selfie. Always required.
Proof of address document. Optional.
Responses
- 200
- 400
- 401
- 422
The file upload returned successfully.
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.