summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristian Blättler <blatc2@bfh.ch>2024-04-20 09:12:40 +0200
committerChristian Blättler <blatc2@bfh.ch>2024-04-20 09:12:43 +0200
commite02fa845a6c57f64ddc611fdb451aef9a94e1260 (patch)
tree6703756f1566214ab6be339d91c0caf6ee3d09eb /core
parentc0c26e784726a9e4ab5f1cf14f99c3d8312c19ea (diff)
downloaddocs-e02fa845a6c57f64ddc611fdb451aef9a94e1260.tar.gz
docs-e02fa845a6c57f64ddc611fdb451aef9a94e1260.tar.bz2
docs-e02fa845a6c57f64ddc611fdb451aef9a94e1260.zip
make token-related fields optional in pay request
Diffstat (limited to 'core')
-rw-r--r--core/api-merchant.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 439e7177..6682ac17 100644
--- 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;