1. Home
  2. Docs
  3. Adding A Customer Transaction
  4. Response Codes

Response Codes

When testing the api you will receive information in response, designed to help you debug any issues that may arise. You will not be given these codes in the live environment, so it’s important all testing be done in the test environment.

Note: Please use the following url for all testing:

https://app.instantfeedback.com.au/api/customer/new/test/

The following response will be given on a successful test:

Customer name - Present 
Customer Mobile Number - Present 
Email Address - Present, and passes validation 
Stream Id - Present, but not validated in api test mode. 
Unique Customer ID - Present 
API Test Passed: Authenticated, and all required data has been included.

An unsuccessful test will receive a variation of the below:

Error: Customer name required 
API Test Failed: Please see above error, and try again!

The api test is progressive, so you will also see which fields were successful up until the error:

Customer name - Present 
Customer Mobile Number - Present 
Email Address - Present, and passes validation 
Error: Stream Id required 
API Test Failed: Please see above error, and try again!
Was this article helpful to you? Yes No

How can we help?