Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Activates an account, when the contract specifies that all new accounts must be verified before they can be used.

This endpoint is also used to complete account updates which require verification, such as updating a mobile number for an SMS-verified account.

Endpoint ID:2004
Method:POST
URL:

/user/dp-key/{dp-key}/verify

/user/ext-key/{ext-key}/{ext-type}/verify

 dp-key

dialogportal™ master key that uniquely identifies account to verify

 ext-key

External key that uniquely identifies account to verify

 ext-type

Type of external key

Request body:

JSON data with code for verification.

{
   "code": "1234"
}


Response body:

None
Status codes:204

Account was successfully verified

 400

Request is valid but data validation failed

The following sub codes may be returned:

 

400.4Mobile number is not unique (the mobile number belongs to an active entity - this includes entities that have not yet been verified)
400.5Mobile number is not unique (the mobile number belongs to an inactive entity)

 

 403

Verification code doesn’t match the code stored in the database

 404

Account was not found

The following sub codes may be returned:

404.1User not found
404.2External user could not be found
 501

Account can not be verified, either because the account does not require verification or because verification has already been carried out

The following sub codes may be returned:

501.2User does not need to be verified
501.3User has not been assigned a verification code


  • No labels