Contents

GET /config#

Return the protocol version and configuration information about the bank. This specification corresponds to current protocol being version 5.

Response:

200 OK:

The adapter responds with a WireConfig object. This request should virtually always be successful.

Details:

interface WireConfig {
  // Name of the API.
  name: "taler-wire-gateway";

  // libtool-style representation of the Bank protocol version, see
  // https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning
  // The format is "current:revision:age".
  version: string;

  // Currency used by this gateway.
  currency: string;

  // URN of the implementation (needed to interpret 'revision' in version).
  // @since v0, may become mandatory in the future.
  implementation?: string;

  // Whether implementation support account existence check
  // @since **v4**
  support_account_check: boolean;
}