Advance reservation verification code check
  • PDF

Advance reservation verification code check

  • PDF

Advance reservation verification code check API

The API for checking whether the verification code entered matches what was sent to the person who made the advance reservation

Request

  • Method: POST
  • URI: https://gamepot.apigw.ntruss.com/gpapps/v2/phone/verify
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's projectId
categoryId String - GAMEPOT advance reservation page's categoryId
code String - Received verification code
to String - Contacts to receive SMS verification code
store String - Store (Google, ONE, Apple)

Response

Success

{
    "code": 200,
    "error": "Authentication succeeded."
}
Attribute Type Description
code Int Result (200: success, 404: failure)
error String Error message

Failure

{
    "code": 404,
    "error": "This number already exists."
}
Attribute Type Description
code Int Result (1: success, refer to the error code in case of failure)
error String Error message

Was this article helpful?