summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}