commit 0c235b70616c2f456814e4fd2c2558f5ee6f3870
parent 2bcfbab7c826c3563c063ddea19b9dcea2582023
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 11 Apr 2020 18:47:18 +0200
specify how to expose payment targets in /config for #4939
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git 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;