summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-11 18:47:18 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-11 18:47:18 +0200
commit0c235b70616c2f456814e4fd2c2558f5ee6f3870 (patch)
tree93398056e6992059693458c8efa18dd975bac979
parent2bcfbab7c826c3563c063ddea19b9dcea2582023 (diff)
downloaddocs-0c235b70616c2f456814e4fd2c2558f5ee6f3870.tar.gz
docs-0c235b70616c2f456814e4fd2c2558f5ee6f3870.tar.bz2
docs-0c235b70616c2f456814e4fd2c2558f5ee6f3870.zip
specify how to expose payment targets in /config for #4939
-rw-r--r--core/api-merchant.rst5
1 files changed, 5 insertions, 0 deletions
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;