{"_id":"573910961f4b740e00b06cbb","__v":1,"category":{"_id":"57390d0e1f4b740e00b06cb2","project":"543005c87d487022005b3fa8","__v":0,"version":"543005c87d487022005b3fab","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-05-15T23:58:06.028Z","from_sync":false,"order":9999,"slug":"iwebcab-customer-api","title":"Gazoop Customer API"},"editedParams2":true,"user":"543005a67d487022005b3fa7","editedParams":true,"parentDoc":null,"version":{"_id":"543005c87d487022005b3fab","__v":6,"project":"543005c87d487022005b3fa8","createdAt":"2014-10-04T14:35:52.362Z","releaseDate":"2014-10-04T14:35:52.362Z","categories":["543005c87d487022005b3fac","54345156edce04080040964e","543ee0c055bb1008000955b6","54c82a78ab706219009e0656","57390d0e1f4b740e00b06cb2","5741d5ab28f5fb0e0063ed36"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"project":"543005c87d487022005b3fa8","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-16T00:13:10.656Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"post","results":{"codes":[{"name":"Success","code":"{\n    \"result\": \"valid\",\n    \"customer_id\": \"80733\",\n  \t\"first_name\": \"James\",\n \t\t\"last_name\": \"Morris\",\n \t\t\"email\": \"support:::at:::iwebcab.com\",\n    \"phone_number\": \"447778844545\"  \t\n}","language":"json"},{"name":"Requires Security Code","code":"{\n    \"result\": \"valid-cin\",\n    \"customer_id\": \"80733\",\n    \"phone_number\": \"447778844545\"\n}","language":"json"},{"name":"Failure","language":"json","code":"{\n    \"result\": \"invalid\"\n}"}]},"settings":"","auth":"never","params":[{"_id":"543ee5c015d056080050275b","ref":"","in":"body","required":true,"desc":"This is the username for the customer account (generally a phone number in international format, excluding the + or 00)","default":"","type":"string","name":"username"},{"_id":"573910cb1f4b740e00b06cbc","ref":"","in":"body","required":true,"desc":"This is the password for the customer account (generally a PIN number of a minimum 4 digit length, and up to 12 digits long).","default":"","type":"string","name":"password"}],"url":"/validate_customer_logins.json"},"isReference":false,"order":1,"body":"Please be aware of the three different responses you might get above. If the result of valid-cin is given, you must request the verification code from the customer and use the [validate_sec_code](http://iwebcab.readme.io/v1.0/docs/validate_seccode) API to activate the customers account. \n\nWithout a customers account being verified bookings can not be placed.","excerpt":"This tool allows you to verify a login attempt by a customer.","slug":"validate_customer_hash2","type":"endpoint","title":"validate_customer_logins"}

postvalidate_customer_logins

This tool allows you to verify a login attempt by a customer.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

username:
required
string
This is the username for the customer account (generally a phone number in international format, excluding the + or 00)
password:
required
string
This is the password for the customer account (generally a PIN number of a minimum 4 digit length, and up to 12 digits long).

Result Format


Documentation

Please be aware of the three different responses you might get above. If the result of valid-cin is given, you must request the verification code from the customer and use the [validate_sec_code](http://iwebcab.readme.io/v1.0/docs/validate_seccode) API to activate the customers account. Without a customers account being verified bookings can not be placed.

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}