PUT
/
accounts

Updating Email or Document:

If an updated email is present, the API validates whether it is a valid email and ensures that another account with that email does not already exist.

If an updated document number or type is present, the API validates that it has a valid format, does not exist on another account, has no executed orders, and initiates an asynchronous validation for mismatching personal data.

The results of the asynchronous validation will be sent to the configured callback. You can find more information in the webhooks section.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string
document
object
address
object
personalInfo
object
updateEmail
string
updateDocumentNumber
string
updateDocumentType
string

Response

200 - application/json
email
string
required
document
object
required
address
object
required
personalInfo
object
required
resultUpdateDocumentNumber
string