curl --request POST \
--url https://api.unibee.top/merchant/auth/sso/loginOTPVerify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "<string>",
"verificationCode": "<string>"
}'
{
"code": 123,
"data": {
"merchantMember": {
"MemberGroupPermission": {},
"MemberRoles": [
{
"createTime": 123,
"id": 123,
"merchantId": 123,
"permissions": [
{
"group": "<string>",
"permissions": [
"<string>"
]
}
],
"role": "<string>"
}
],
"createTime": 123,
"email": "<string>",
"firstName": "<string>",
"id": 123,
"isBlankPasswd": true,
"isOwner": true,
"lastName": "<string>",
"merchantId": 123,
"mobile": "<string>",
"status": 123,
"totpType": 123
},
"token": "<string>"
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
OTP login for member, verify OTP code
curl --request POST \
--url https://api.unibee.top/merchant/auth/sso/loginOTPVerify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "<string>",
"verificationCode": "<string>"
}'
{
"code": 123,
"data": {
"merchantMember": {
"MemberGroupPermission": {},
"MemberRoles": [
{
"createTime": 123,
"id": 123,
"merchantId": 123,
"permissions": [
{
"group": "<string>",
"permissions": [
"<string>"
]
}
],
"role": "<string>"
}
],
"createTime": 123,
"email": "<string>",
"firstName": "<string>",
"id": 123,
"isBlankPasswd": true,
"isOwner": true,
"lastName": "<string>",
"merchantId": 123,
"mobile": "<string>",
"status": 123,
"totpType": 123
},
"token": "<string>"
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OTP login for member, verify OTP code
The response is of type object
.