- 2xx: the request succeeded.
- 4xx: the request failed due to a client error.
- 5xx: the request failed due to an unexpected server error.
HTTP status codes
The following table describes the status codes covered in this reference:Error response fields
Error responses use different JSON schemas across the DCC REST APIs. Some include detail objects, depending on the API and the cause. The following sections describe the fields returned by each:Boarding API
When a boarding request fails at the HTTP level, the Boarding API returns a JSON body containing a list of errors:Per-location boarding errors appear in the batch summary response,
not in the HTTP 400 body. For the boarding workflow, see
Board merchants via REST API.
Rate Service Classic API
When a Rate Service Classic request fails, the API returns a JSON body describing the error:Rate Service Connect API
When a Rate Service Connect request fails, the API returns a JSON body. Validation errors and no-offer conflicts include adetails array with
one or more error objects. The examples below show the two most common
error patterns.
- Validation error (400)
- No rate offer (409)
A The following table lists the numeric error codes returned for eligibility
and validation failures:
400 response indicates invalid input. The details array contains
one or more error objects with a numeric error code identifying the
problem. Correct the input before retrying.