taler-docs

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

commit 932eb10ea30691e6b14056ac06af1f92ac5c3bd9
parent eeb50a70c72ae407ff32e9b0c4f1ab573bd7b731
Author: Sebastian <sebasjm@gmail.com>
Date:   Tue,  3 Jan 2023 12:15:24 -0300

missing peer contract terms

Diffstat:
Mwallet/wallet-core.md | 14+++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/wallet/wallet-core.md b/wallet/wallet-core.md @@ -1471,7 +1471,7 @@ export type InitiatePeerPushPaymentOp = { ```typescript export interface InitiatePeerPushPaymentRequest { amount: AmountString; - partialContractTerms: any; + partialContractTerms: PeerContractTerms; } ``` @@ -1486,6 +1486,18 @@ export interface InitiatePeerPushPaymentResponse { } ``` +```typescript +/** + * Contract terms between two wallets (as opposed to a merchant and wallet). + */ +export interface PeerContractTerms { + amount: AmountString; + summary: string; + purse_expiration: TalerProtocolTimestamp; +} + +``` + ### CheckPeerPushPaymentOp ```typescript