# FOR LOGGED IN UESR# TOKEN request - country_code, email, cellphone params might be passed and will override existing customer data (I'm not sure if we need this functionality)# This request will use customer stored data for verficationcurl --header "Authorization: Basic MjEzMDcwNjQzMyRjZTY3ZjUzZTE5NzI4MGI1NDM1NjY0ODM1OGJlZDdjOA==" http://watch.test.russiantvcompany.com/app-gw/customer/authy/token -X POST -d ''# This request will override all country_code, email, cellphone customer params curl --header "Authorization: Basic MjEzMDcwNjQzMyRjZTY3ZjUzZTE5NzI4MGI1NDM1NjY0ODM1OGJlZDdjOA==" http://watch.test.russiantvcompany.com/app-gw/customer/authy/token -X POST -d "country_code=1&cellphone=8608697941&email=test.example.com"# This request will override customer's phone attribute only and use default country code (=1) and customer's emailcurl --header "Authorization: Basic MjEzMDcwNjQzMyRjZTY3ZjUzZTE5NzI4MGI1NDM1NjY0ODM1OGJlZDdjOA==" http://watch.test.russiantvcompany.com/app-gw/customer/authy/token -X POST -d "cellphone=8608697941"# Example responses:# {"success":true,"errors":[]}# VERIFICATION REQUESTcurl --header "Authorization: Basic MjEzMDcwNjQzMyRjZTY3ZjUzZTE5NzI4MGI1NDM1NjY0ODM1OGJlZDdjOA==" http://watch.test.russiantvcompany.com/app-gw/customer/authy/verify -X POST -d "token=3234836"# Example responses:# {"success":false,"errors":["Token is invalid. Token was used recently"]}# {"success":true,"errors":[]}