提前预约验证码确认
提前预约验证码确认API
此API用来确认发送给提前预约者的验证码与输入的验证码是否一致
Request

Method:POST
POST
url : https://gamepot.apigw.ntruss.com/gpapps/v2/phone/verify
Header : 'content-type: application/json'
data:
{
"projectId":"ab2775b4-cf09-4794-XXXX-XXXXXXXXXXXX",
"categoryId":"b062a3f3-0a37-44d1-XXXX-XXXXXXXXXXXX",
"code":"61XX",
"to":"010XXXXXXX",
"store":"google"
}
Attribute
Type
Required
Description
projectId
String
-
GAMEPOT SDK的projectId
categoryId
String
-
GAMEPOT提前预约页面的categoryId
code
String
-
收到的验证码
to
String
-
接收SMS验证码的联系方式
store
String
-
商店(Google、ONE、Apple)
Response
成功
{
"code": 200,
"error": "验证成功。"
}
Attribute
Type
Description
code
Int
结果值 \(200:成功,404:失败\)
error
String
错误消息
失败
{
"code": 404,
"error": "此号码已注册。"
}
Attribute
Type
Description
code
Int
结果值 \(1:成功,失败情况下请参考错误代码\)
error
String
错误内容
Last updated