commit dc45f01e348440e50582a7718b412bd3c290d696 parent 1b80fa46a3fd6386a6612739230e96bb83ac4a85 Author: Florian Dold <florian@dold.me> Date: Tue, 11 Jun 2024 16:43:34 +0200 merchant: remove required_currency, as it is redundant The template_contract can already has a currency field in case no fixed amount is specified but the currency is fixed/required. Diffstat:
| M | core/api-merchant.rst | | | 22 | ---------------------- |
1 file changed, 0 insertions(+), 22 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -3501,17 +3501,6 @@ Adding templates // user-editable defaults for this template. // Since protocol **v13**. editable_defaults?: Object; - - // Required currency for payments. Useful if no - // amount is specified in the ``template_contract`` - // but the user should be required to pay in a - // particular currency anyway. Merchant backends - // may reject requests if the ``template_contract`` - // or ``editable_defaults`` do - // specify an amount in a different currency. - // This parameter is optional. - // Since protocol **v13**. - required_currency?: string; } @@ -3586,17 +3575,6 @@ Editing templates // user-editable defaults for this template. // Since protocol **v13**. editable_defaults?: Object; - - // Required currency for payments. Useful if no - // amount is specified in the ``template_contract`` - // but the user should be required to pay in a - // particular currency anyway. Merchant backends - // may reject requests if the ``template_contract`` - // or ``editable_defaults`` do - // specify an amount in a different currency. - // This parameter is optional. - // Since protocol **v13**. - required_currency?: string; }