sendVerificationCode
post
/ccstore/v1/login/sendVerificationCode
Send verification code. Send one time password for multi-factor authentication.
Request
Supported Media Types
- application/json
Root Schema : sendVerificationCode_request
Type:
Show Source
object
-
validation_token:
string
Validation token received on calling login endpoint when multi-factor authentication is enabled and device is unknown.
Example:
{
"validation_token":"eyJhbGciOiJub25lIn0.eyJzdWIiOiJzZS01NzAwMzEiLCJ2YWxpZGF0aW9uX3N0ciI6IjdkZmM3OTFlNDY5NThhNGI3NDY5ZTczZmIwN2Y4YTlhM2VlMTQ3NTA4YjFmYmFmOTJjODE1ZWZlZGE2NTE4MzEiLCJleHAiOjE2NTgzNjc3MTcsImlhdCI6MTY1ODM2NDExN30."
}
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : sendVerificationCode_response
Type:
Show Source
object
-
success:
boolean
The Commerce error code. See the table below for information on common codes.
Example:
{
"success":true
}
Example Response (application/json)
{
"success":true
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code