diff options
-rw-r--r-- | core/api-merchant.rst | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst index efc2d5b9..ef745dc2 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -123,7 +123,7 @@ such as the implemented version of the protocol and the currency used. .. http:get:: /config Return the protocol version and currency supported by this merchant backend. - This specification corresponds to ``current`` protocol being version **12**. + This specification corresponds to ``current`` protocol being version **13**. **Response:** @@ -2895,9 +2895,27 @@ Adding templates // This parameter is optional. otp_id?: string; - // Additional information in a separate template. + // Fixed contract information for orders created from + // this template. template_contract: TemplateContractDetails; - } + + // Key-value pairs matching a subset of the + // fields from `template_contract` that are + // 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; + } .. ts:def:: TemplateContractDetails |