summaryrefslogtreecommitdiff
path: root/src/types/walletTypes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types/walletTypes.ts')
-rw-r--r--src/types/walletTypes.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/types/walletTypes.ts b/src/types/walletTypes.ts
index 8bc4f97af..d61d04692 100644
--- a/src/types/walletTypes.ts
+++ b/src/types/walletTypes.ts
@@ -41,6 +41,7 @@ import {
makeCodecOptional,
Codec,
} from "../util/codec";
+import { AmountString } from "./talerTypes";
/**
* Response for the create reserve request to the wallet.
@@ -489,3 +490,26 @@ export interface ExchangeListItem {
currency: string;
paytoUris: string[];
}
+
+export interface ManualWithdrawalDetails {
+ /**
+ * Did the user accept the current version of the exchange's
+ * terms of service?
+ */
+ tosAccepted: boolean;
+
+ /**
+ * Amount that the user will transfer to the exchange.
+ */
+ rawAmount: AmountString;
+
+ /**
+ * Amount that will be added to the user's wallet balance.
+ */
+ effectiveAmount: AmountString;
+
+ /**
+ * Ways to pay the exchange.
+ */
+ paytoUris: string[];
+}