commit 2afd0f70a9f760a7e2798c7de0708b6c3e08b270 parent 0084f886e9bb560c9ffee2975c97c652443d4d2c Author: Florian Dold <florian@dold.me> Date: Tue, 11 May 2021 12:39:12 +0200 document fulfillment_message Diffstat:
| M | core/api-merchant.rst | | | 13 | +++++++++++-- |
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -2803,10 +2803,19 @@ The contract terms must have the following structure: amount: Amount; // The URL for this purchase. Every time it is visited, the merchant - // will send back to the customer the same proposal. Clearly, this URL - // can be bookmarked and shared by users. + // will send back to the customer the same proposal. + // The URL should be bookmarkable. + // Either fulfillment_url or fulfillment_message must be specified. fulfillment_url?: string; + // Message shown to the customer after paying for the order. + // Either fulfillment_url or fulfillment_message must be specified. + fulfillment_message?: string; + + // Map from IETF BCP 47 language tags to localized fulfillment + // messages. + fulfillment_message_i18n: { [lang_tag: string]: string }; + // Maximum total deposit fee accepted by the merchant for this contract. max_fee: Amount;