Guides
Log In
Guides

Status Codes

Overview

Terminal uses HTTP Status Codes


CodeDescriptionComments
200OKStandard success response
201CreatedReturned on successful entity creation. Returns either an empty response or the created resource.
202AcceptedOur server accepted the request and may or may not succeed. Requires asynchronous processing.
Moneris uses this status code for successful requests that may prompt additional activity outside for Moneris API by your server or a queued process within Moneris.
204No contentThere is no response body.
400Bad RequestBad request - unspecific client error indicating that the server cannot process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request). Should also be delivered in case of input payload fails business logic / semantic validation (instead of using status code 422).
401UnauthorizedUnauthenticated credentials are not valid for the target resource.
403ForbiddenThe user is not authorized to use this resource.
404Not FoundThe resource is not found.
408Request TimeoutThe terminal times out waiting for the resource.
409ConflictRequest cannot be completed due to conflict with the current state of the terminal.
429Too Many RequestsThe terminal does not consider rate limiting and sent too many requests in a short span.
500Internal Server ErrorA generic error indication for an unexpected server execution problem (here, client retry may be sensible).
503Service UnavailableService is (temporarily) not available (e.g., if a required component or downstream service is not available) — client retry may be sensible. If possible, the service should indicate how long the client should wait by setting the Retry-After header.