Complete customer registration
Checks the one-time code for an open verification session and, when supplied, verifies and redeems a customer provision code. When the credentials are correct, 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.
verificationId
otp
The code sent by SMS.
provisionCodeDigest
Optional opaque provision-code digest to verify and redeem onto the customer.
Response
The number was verified and a customer access token was issued.
accessToken
tokenType
expiresIn
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
