diff options
author | Florian Dold <florian@dold.me> | 2021-05-11 12:39:12 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-05-11 12:39:12 +0200 |
commit | 2afd0f70a9f760a7e2798c7de0708b6c3e08b270 (patch) | |
tree | c56935b84f4b4db85aefb4b1cf0f0e33b1289bba /core/api-merchant.rst | |
parent | 0084f886e9bb560c9ffee2975c97c652443d4d2c (diff) | |
download | docs-2afd0f70a9f760a7e2798c7de0708b6c3e08b270.tar.gz docs-2afd0f70a9f760a7e2798c7de0708b6c3e08b270.tar.bz2 docs-2afd0f70a9f760a7e2798c7de0708b6c3e08b270.zip |
document fulfillment_message
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r-- | core/api-merchant.rst | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst index c1de77e7..56a9187f 100644 --- 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; |