Contents

GET /exchanges#

Return information about exchanges configured for this merchant backend. @since v26.

Response:

200 OK:

The body is a ExchangeStatusResponse.

Details:

interface ExchangeStatusResponse {

  exchanges: ExchangeStatusDetail[];

}
interface ExchangeStatusDetail {

  // Base URL of the exchange this is about.
  exchange_url: string;

  // Time when the backend will download /keys next.
  next_download: Timestamp;

  // Time when the current /keys response is expected to
  // expire. Missing if we do not have one.
  keys_expiration?: Timestamp;

  // HTTP status code returned by the exchange when we asked for
  // /keys. 0 if we did not receive an HTTP status code.
  // Usually 200 for success.
  keys_http_status: Integer;

  // Numeric error code indicating an
  // error we had processing the /keys response.
  keys_ec: Integer;

  // Human-readable error description matching keys_ec.
  keys_hint: string;

}