After submitting a call, you receive a response message to inform you that your request was received and processed.
Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.
HTTP Responses
200 - OK The request has succeeded.
Show more Show less Terminal products that can be ordered.
Show children Hide children
Information about items included and integration options.
The unique identifier of the product.
A list of parts included in the terminal package.
The descriptive name of the product.
The price of the product.
Show children Hide children
400 - Bad Request A problem reading or understanding the request.
Show more Show less A human-readable explanation specific to this occurrence of the problem.
A code that identifies the problem type.
A unique URI that identifies the specific occurrence of the problem.
Detailed explanation of each validation error, when applicable.
Show children Hide children
Description of the validation error.
The field that has an invalid value.
A unique reference for the request, essentially the same as pspReference
.
A short, human-readable summary of the problem type.
A URI that identifies the problem type, pointing to human-readable documentation on this problem type.
401 - Unauthorized Authentication required.
Show more Show less A human-readable explanation specific to this occurrence of the problem.
A code that identifies the problem type.
A unique URI that identifies the specific occurrence of the problem.
Detailed explanation of each validation error, when applicable.
Show children Hide children
Description of the validation error.
The field that has an invalid value.
A unique reference for the request, essentially the same as pspReference
.
A short, human-readable summary of the problem type.
A URI that identifies the problem type, pointing to human-readable documentation on this problem type.
403 - Forbidden Insufficient permissions to process the request.
Show more Show less A human-readable explanation specific to this occurrence of the problem.
A code that identifies the problem type.
A unique URI that identifies the specific occurrence of the problem.
Detailed explanation of each validation error, when applicable.
Show children Hide children
Description of the validation error.
The field that has an invalid value.
A unique reference for the request, essentially the same as pspReference
.
A short, human-readable summary of the problem type.
A URI that identifies the problem type, pointing to human-readable documentation on this problem type.
422 - Unprocessable Entity A request validation error.
Show more Show less A human-readable explanation specific to this occurrence of the problem.
A code that identifies the problem type.
A unique URI that identifies the specific occurrence of the problem.
Detailed explanation of each validation error, when applicable.
Show children Hide children
Description of the validation error.
The field that has an invalid value.
A unique reference for the request, essentially the same as pspReference
.
A short, human-readable summary of the problem type.
A URI that identifies the problem type, pointing to human-readable documentation on this problem type.
500 - Internal Server Error The server could not process the request.
Show more Show less A human-readable explanation specific to this occurrence of the problem.
A code that identifies the problem type.
A unique URI that identifies the specific occurrence of the problem.
Detailed explanation of each validation error, when applicable.
Show children Hide children
Description of the validation error.
The field that has an invalid value.
A unique reference for the request, essentially the same as pspReference
.
A short, human-readable summary of the problem type.
A URI that identifies the problem type, pointing to human-readable documentation on this problem type.