taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit e01561970b18f0b3b6d7f0c36ac587855a8da0a1
parent 26494b27f94e3948f3c3cea991b6cce3f32de4ea
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 21 Sep 2025 19:09:25 +0200

vSUBSCRIBE is v21

Diffstat:
Mcore/api-merchant.rst | 22+++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -576,7 +576,7 @@ Making the payment // Signed tokens. Returned in the same order as the // token envelopes were provided in the request. - // @since protocol **vSUBSCRIBE** + // @since protocol **v21** token_sigs?: SignedTokenEnvelope[]; } @@ -588,7 +588,7 @@ Making the payment coins: CoinPaySig[]; // Input tokens required by choice indicated by ``choice_index``. - // @since protocol **vSUBSCRIBE** + // @since protocol **v21** tokens?: TokenUseSig[]; // Custom inputs from the wallet for the contract. @@ -642,12 +642,12 @@ Making the payment interface PayWalletData { // Index of the selected choice within the ``choices`` array of // the contract terms. - // @since protocol **vSUBSCRIBE** + // @since protocol **v21** choice_index?: Integer; // Array of output tokens to be (blindly) signed by the merchant. // Output tokens specified in choice indicated by ``choice_index``. - // @since protocol **vSUBSCRIBE** + // @since protocol **v21** tokens_evs?: TokenEnvelope[]; } @@ -3187,11 +3187,11 @@ Creating orders interface OrderV1 { // Version 1 order support discounts and subscriptions. // https://docs.taler.net/design-documents/046-mumimo-contracts.html - // @since protocol **vSUBSCRIBE** + // @since protocol **v21** version: 1; // List of contract choices that the customer can select from. - // @since protocol **vSUBSCRIBE** + // @since protocol **v21** choices?: OrderChoice[]; } @@ -3305,7 +3305,7 @@ Creating orders choice is done by the wallet and consists of in- and outputs. In the example of buying an article, the merchant could present the customer with the choice to use a valid subscription token or pay using a gift - voucher. Available since protocol **vSUBSCRIBE**. + voucher. Available since protocol **v21**. .. ts:def:: OrderChoice @@ -3598,7 +3598,7 @@ Inspecting orders // Index of the selected choice within the ``choices`` array of // ``contract terms``. - // @since protocol **vSUBSCRIBE** + // @since protocol **v21** choice_index?: Integer; // If the order is paid, set to the last time when a payment @@ -5243,16 +5243,16 @@ The contract terms must have the following structure: interface ContractTermsV1 { // Version 1 supports the ``choices`` array, see // https://docs.taler.net/design-documents/046-mumimo-contracts.html. - // @since protocol **vSUBSCRIBE** + // @since protocol **v21** version: 1; // List of contract choices that the customer can select from. - // @since protocol **vSUBSCRIBE** + // @since protocol **v21** choices: ContractChoice[]; // Map of storing metadata and issue keys of // token families referenced in this contract. - // @since protocol **vSUBSCRIBE** + // @since protocol **v21** token_families: { [token_family_slug: string]: ContractTokenFamily }; }