commit 56d18de9072157a10d190135dc71ab6a202b6e81
parent 50445fd9703493298578f5b1ed6d6569a317432a
Author: Christian Blättler <blatc2@bfh.ch>
Date: Sat, 13 Apr 2024 15:55:20 +0200
merchant api: add choice_index to CheckPaymentPaidResponse
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -350,7 +350,8 @@ Making the payment
// The coins used to make the payment.
coins: CoinPaySig[];
- // Index of the chosen sub-contract.
+ // Index of the selected choice within the ``choices`` array of
+ // the contract terms.
// @since protocol **vSUBSCRIBE**
choice_index?: Integer;
@@ -2440,6 +2441,11 @@ Inspecting orders
// Contract terms.
contract_terms: ContractTerms;
+ // Index of the selected choice within the ``choices`` array of
+ // ``contract terms``.
+ // @since protocol **vSUBSCRIBE**
+ choice_index?: Integer;
+
// If the order is paid, set to the last time when a payment
// was made to pay for this order. Since **v14**.
last_payment: Timestamp;