commit e02fa845a6c57f64ddc611fdb451aef9a94e1260
parent c0c26e784726a9e4ab5f1cf14f99c3d8312c19ea
Author: Christian Blättler <blatc2@bfh.ch>
Date: Sat, 20 Apr 2024 09:12:40 +0200
make token-related fields optional in pay request
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -357,12 +357,12 @@ Making the payment
// Input tokens required by choice indicated by ``choice_index``.
// @since protocol **vSUBSCRIBE**
- tokens: TokenUseSig[];
+ tokens?: TokenUseSig[];
// Array of output tokens to be (blindly) signed by the merchant.
// Output tokens specified in choice indicated by ``choice_index``.
// @since protocol **vSUBSCRIBE**
- tokens_evs: TokenEnvelope[];
+ tokens_evs?: TokenEnvelope[];
// Custom inputs from the wallet for the contract.
wallet_data?: Object;