get-config.rst (892B)
1 .. http:get:: /config 2 3 Return the protocol version and currency supported by this service. 4 5 **Response:** 6 7 :http:statuscode:`200 OK`: 8 The body is a `VersionResponse`. 9 10 .. ts:def:: VersionResponse 11 12 interface VersionResponse { 13 // libtool-style representation of the Merchant protocol version, see 14 // https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning 15 // The format is "current:revision:age". 16 version: string; 17 18 // Name of the protocol. 19 name: "taler-directory"; 20 21 // Supported alias types 22 alias_types: TaldirAliasType[]; 23 24 // fee for one month of registration 25 monthly_fee: Amount; 26 27 } 28 29 .. ts:def:: TaldirAliasType 30 31 interface TaldirAliasType { 32 // Name of the alias type, e.g. "email" or "sms". 33 name: string; 34 35 // per challenge fee 36 challenge_fee: Amount; 37 38 }