MENU
      Advance reservation verification code check

        Advance reservation verification code check


        Article summary

        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"
        }
        Plain text
        AttributeTypeRequiredDescription
        projectIdString-GAMEPOT SDK's projectId
        categoryIdString-GAMEPOT advance reservation page's categoryId
        codeString-Received verification code
        toString-Contacts to receive SMS verification code
        storeString-Store (Google, ONE, Apple)

        Response

        Success

        {
            "code": 200,
            "error": "Authentication succeeded."
        }
        JavaScript
        AttributeTypeDescription
        codeIntResult (200: success, 404: failure)
        errorStringError message

        Failure

        {
            "code": 404,
            "error": "This number already exists."
        }
        JavaScript
        AttributeTypeDescription
        codeIntResult (1: success, refer to the error code in case of failure)
        errorStringError message

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.