Skip to main content

Update Onboarding Document File by ID

PUT 

/v1/users/onboardings/:id/documents/:doc_id

Update an onboarding document file by providing its ID. If you haven't uploaded a file yet, use the appropriate endpoint to do so.

Request

Path Parameters

    doc_id stringrequired

    onboarding document file ID to be updated.

    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.

    type string

    Possible values: [selfie, document_front, document_back, address_proof]

    Document type related to previous uploaded document. Possible values: selfie,document_front,document_back,address_proof.

    document binary

Responses

The onboarding document file updated successfully.

Loading...