Skip to main content

Update Onboarding by ID

PUT 

/v1/users/onboardings/:id

Update an onboarding data. It is only possible to update it when the onboarding status is pending. Otherwise, It is required to create another one.

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-product-uuid string

    UUID (v4) of the product that the request should use. Send it explicitly when the authenticated user has more than one product or when the integration must select a specific product. If omitted and the endpoint does not require it, the API uses the authenticated user's default product.

    x-product-target-user-uuid string

    UUID (v4) of the user on whose behalf the request should run within the selected product. If omitted, the request runs as the authenticated user. Requires x-product-uuid.

    x-lang string

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

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

Body

required
    address object
    id number

    User address ID.

    zip_code stringrequired

    User address zip code.

    street stringrequired

    User address street.

    number numberrequired

    User address number.

    neighborhood string

    User address neighborhood.

    city stringrequired

    User address city.

    federative_unit stringrequired

    User address federative unit.

    country stringrequired

    User address country.

    complement string

    User address complement.

    nationality stringrequired

    User nationality.

    pep boolean

    User PEP (Politically Exposed Person).

    pep_since datenullable

    User PEP (Politically Exposed Person) initial date.

    occupation_cbo_code numbernullable

    User occupation cbo (Brazilian Classification of Occupations (CBO) code.

    occupation_income number

    User occupation income in R$ cents.

    patrimony number

    User patrimony value in R$ cents.

Responses​

Onboarding updated.

Schema
    id stringrequired

    Onboarding ID.

    status stringrequired

    Possible values: [pending, finished, failed, rejected, expired]

    Onboarding Status.

    created_at date-timerequired

    Onboarding Created at.

    updated_at date-timerequired

    Onboarding Updated at.

Loading...