文档
测试

OTP Verify

POST
{{baseurl}}/authentication/otp/verify

请求头

参数名
类型
描述
必填
sync-user-agent
string
示例:money.sync.app.adhoc/1.1.0 (feature/SM-1018-WrongUseAttributedHelper-Debug-1b3d9a17) SimulatoriPhone8/13.4 (iOS; 2x; phone; DeviceID E1E266B4E3D041B598FCB91426197BEA; es-ES)
可选
Content-Type
string
示例:application/json
可选

请求参数

参数名
类型
描述
必填
userOTP
string
6-digits integer; required
可选
userMobile
string
equired, when VERIFICATION_TOKEN=true (by default)
可选
contextType
string
retail | corporate. required, when VERIFICATION_TOKEN=true (by default)
可选
userRole
string
User role <user|CRM|userB|internal| CRM-CS|CRM-Compliance|permiumRetail>
可选

响应参数

参数名
类型
描述
必填
message
string
示例:verifyOTP
必填
data
object
数据字典
必填
userToken
string
示例:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjEifQ.eyJzY29wZXMiOlsib3RwOnZlcmlmaWVkIl0sIm1hc3RlclVVSUQiOiI4MTdmY2U2Zi03MWVhLTRhNGMtOTgxNy03OWY1NjU3MjM0MmIiLCJjb250ZXh0Ijp7InV1aWQiOiI4M2I5MWQwNC1jNW
必填
isPasscodeCreated
boolean
示例:false
必填
passcodeStatus
string
示例:NOT_CREATED
必填