summaryrefslogtreecommitdiff
path: root/core/api-merchant.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-09-12 14:26:06 +0200
committerChristian Grothoff <christian@grothoff.org>2023-09-12 14:26:06 +0200
commit2736670ab1368921ed4bd6338e1665c81f039cb2 (patch)
tree89e4ba64530866a18e14ff7d4bb2b2c892842e56 /core/api-merchant.rst
parent8e19477ed8fc6b7fffff40f8283657367aa26179 (diff)
downloaddocs-2736670ab1368921ed4bd6338e1665c81f039cb2.tar.gz
docs-2736670ab1368921ed4bd6338e1665c81f039cb2.tar.bz2
docs-2736670ab1368921ed4bd6338e1665c81f039cb2.zip
update spec
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r--core/api-merchant.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 6c74e004..1b1fd8c5 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -297,6 +297,9 @@ Making the payment
// The coins used to make the payment.
coins: CoinPaySig[];
+ // Custom inputs from the wallet for the contract.
+ wallet_data?: Object;
+
// The session for which the payment is made (or replayed).
// Only set for session-based payments.
session_id?: string;
@@ -481,6 +484,9 @@ again.
// database access).
h_contract: HashCode;
+ // Hash over custom inputs from the wallet for the contract.
+ wallet_data_hash?: HashCode;
+
// Session id for which the payment is proven.
session_id: string;
}