aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-12-12 21:24:21 +0100
committerFlorian Dold <florian@dold.me>2023-12-12 21:24:28 +0100
commit387416f02dec4a7f948ba96e918e3cacaf92639e (patch)
tree959fde0a7f8c51c2749251ddff32588907e44f4b /packages/taler-util
parentf7e01690b44e42b7088457374a2a8606fd94f84e (diff)
downloadwallet-core-387416f02dec4a7f948ba96e918e3cacaf92639e.tar.xz
wallet-core: implement maxExpirationDate for checkPeerPushDebit
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/wallet-types.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts
index b54ee8c0a..3b4bc6a29 100644
--- a/packages/taler-util/src/wallet-types.ts
+++ b/packages/taler-util/src/wallet-types.ts
@@ -2483,6 +2483,16 @@ export interface CheckPeerPushDebitResponse {
amountRaw: AmountString;
amountEffective: AmountString;
exchangeBaseUrl: string;
+ /**
+ * Maximum expiration date, based on how close the coins
+ * used for the payment are to expiry.
+ *
+ * The value is based on when the wallet would typically
+ * automatically refresh the coins on its own, leaving enough
+ * time to get a refund for the push payment and refresh the
+ * coin.
+ */
+ maxExpirationDate: TalerProtocolTimestamp;
}
export interface InitiatePeerPushDebitRequest {