get-config.rst (862B)
1 .. http:get:: /config 2 3 Return the protocol version and configuration information about the bank. 4 5 **Response:** 6 7 :http:statuscode:`200 OK`: 8 The exchange responds with a `RevenueConfig` object. This request should 9 virtually always be successful. 10 11 **Details:** 12 13 .. ts:def:: RevenueConfig 14 15 interface RevenueConfig { 16 // Name of the API. 17 name: "taler-revenue"; 18 19 // libtool-style representation of the Bank protocol version, see 20 // https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning 21 // The format is "current:revision:age". 22 version: string; 23 24 // Currency used by this gateway. 25 currency: string; 26 27 // URN of the implementation (needed to interpret 'revision' in version). 28 // @since v0, may become mandatory in the future. 29 implementation?: string; 30 }