Skip to navigation

Complete customer registration

Checks the one-time code for an open verification session. When it is correct and the number is eligible for this customer source, the customer is created, or the existing customer for that number is used, and a customer access token is returned. A session can be completed once.

Request

This endpoint expects an object.
verificationIdstringRequiredformat: "uuid"
otpstringRequiredformat: "^[0-9]{4,10}$"
The code sent by SMS.

Response

The number was verified and a customer access token was issued.
accessTokenstringOptional
tokenTypestringOptional
expiresInintegerOptional
Token lifetime in seconds. The API accepts values up to the documented maximum.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
410
Gone Error
429
Too Many Requests Error
500
Internal Server Error