HTTP Status Codes for an Unsuccessful Response
These are the possible values you can receive for a Status, Reason, and Details block
depending on the HTTP Status Code:
HTTP Status Code (part of HTTP header) | Status | Reason | Details (an array with 0 to many
blocks) |
---|---|---|---|
400 | INVALID_REQUEST | INVALID_REQUEST | Field will contain the name of the field that is missing or
incorrect: Reason – MISSING_FIELD, INVALID_DATA |
403 | UNAUTHORIZED | UNAUTHORIZED | Not applicable |
404 | NOT_FOUND | NOT_FOUND | Not applicable |
422 | VALIDATION_ERROR | PRODUCT_INACTIVE INVALID_MERCHANT_CONFIGURATION PRODUCT_NOT_CONFIGURED | Not applicable |
502 | SERVER_ERROR | SYSTEM_ERROR SERVER_TIMEOUT SERVICE_TIMEOUT | Not applicable |