{
  "opencollection": "1.0.0",
  "info": {
    "name": "Verify-Vonage",
    "version": "v1.1.1"
  },
  "items": [
    {
      "info": {
        "name": "Verify",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Generate PIN",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/"
          },
          "docs": "To use Verify Request,  follwoing steps needs to be followed\n -   Create a Request to send a PIN to your user.\n -   Check the response codes in the Response to ensure that your request was successful.\n \n### Example\n  \n  Request:\n  \n  ```\n  curl -X POST \\\n    'https://api-prd.kpn.com/communication/nexmo/verify' \\\n      -H 'authorization: Bearer access_token' \\\n      -H 'content-type: application/x-www-form-urlencoded' \\\n      -d 'number=316********&brand=VerifyTest'\n  \n  ```\n  \n  Response:\n  \n  `"
        },
        {
          "info": {
            "name": "Verify PIN",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/check"
          },
          "docs": "To use Check reosurce following steps need to be followed\n\n -  Use a check request to send the PIN you received from your user to Vonage.\n - Check the response codes in the response to see if the PIN sent by your user matched the PIN generated by Vonage\n \n### Examples\n  \n  Request:\n  \n  ```\n  curl -X POST \\\n    'https://api-prd.kpn.com/communication/nexmo/verify/check' \\\n      -H 'authorization: Bearer access_token' \\\n      -H 'content-type: application/x-www-form-urlencoded' \\\n      -d 'request"
        },
        {
          "info": {
            "name": "Look up status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/search"
          },
          "docs": "This API resource performs the following \n - Send a Verify Search request containing the request_id's of the Verify requests to search for.\n - Check the status response parameter in the Search Response to see if the request was successfully completed.\n \n **Note :** Either `request_id` or `request_ids` can be provided as part of a request message.\n\n ### Example\n  \n  Request:\n  \n  ```\n  curl -X POST \\\n    'https://api-prd.kpn.com/communication/nexmo/verify/search' \\\n      -H 'authorization: Bearer"
        },
        {
          "info": {
            "name": "Control Verify Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/control"
          },
          "docs": "This APi resource is used to control the progress of your Verify Requests\n  - Send a Verify request.\n  - Check the response.\n  \n  Following are possible values of \"status\" in the response.(Code =  Command :  Error Text : Meaning)\n  \n  - 0 = Success :  Success : Success.\n  - 19 = Cancel  Verification requests can't be cancelled within the first 30 seconds  :  You must wait at least 30s after sending a Verify Request before cancelling.\n  - 19 =  Cancel : Verification requests can't be cancelled no"
        }
      ]
    }
  ],
  "bundled": true
}