Skip to main content

Upload Onboarding Document File by ID

POST 

/v1/users/onboardings/:id/documents

Upload the onboarding document file (max size: 25 MB). The onboarding process will be finished once the selfie and both sides of the document are submitted.

Request

Path Parameters

    id stringrequired

    Onboarding ID.

Header Parameters

    nonce stringrequired

    The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.

    x-lang string

    Possible values: [pt-BR, en-US]

    Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.

    x-product-uuid string

    The product ID is a UUID (v4) used to identify the Z.ro product configuration.

    x-product-target-user-uuid string

    The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.

Body

required
    document_file_type string

    Possible values: [rg, cnh]

    Document type specified for document_front and document_back. Required when send this files. Possible values: rg,cnh.

    document_front binary
    document_back binary
    selfie binary
    address_proof binary

Responses

The file upload returned successfully.

Loading...