Skip to main content
The Dynamic Currency Conversion (DCC) REST APIs use standard HTTP status codes to indicate the outcome of every request. In general, codes in the ranges below indicate the following:
  • 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:
The table below describes each field:
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:
The table below describes each field:

Rate Service Connect API

When a Rate Service Connect request fails, the API returns a JSON body. Validation errors and no-offer conflicts include a details array with one or more error objects. The examples below show the two most common error patterns.
A 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.
The following table lists the numeric error codes returned for eligibility and validation failures:
The table below describes each field: