From 0c235b70616c2f456814e4fd2c2558f5ee6f3870 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 11 Apr 2020 18:47:18 +0200 Subject: specify how to expose payment targets in /config for #4939 --- core/api-merchant.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core') diff --git a/core/api-merchant.rst b/core/api-merchant.rst index 35e3a1a9..4fc736a8 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -991,6 +991,11 @@ both by the user's browser and their wallet. // Public key of the merchant/instance, in Crockford Base32 encoding. merchant_pub: EddsaPublicKey; + // List of the payment targets supported by this instance. Clients can + // specify the desired payment target in /order requests. Note that + // front-ends do not have to support wallets selecting payment targets. + payment_targets: string[]; + // Base URL of the exchange this instance uses for tipping. // Optional, only present if the instance supports tipping. tipping_exchange_baseurl?: string; -- cgit v1.2.3