aboutsummaryrefslogtreecommitdiff
path: root/src/types/dbTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-05-12 14:08:58 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-05-12 14:09:10 +0530
commit6206b418ff88a238762a18e7b6eeaceafc5de294 (patch)
treec4d947770ccf50e362abf083953f55140046fc2a /src/types/dbTypes.ts
parent857a2b9dcaf64d4298027644f8e6716fa22db941 (diff)
downloadwallet-core-6206b418ff88a238762a18e7b6eeaceafc5de294.tar.xz
new transactions API: withdrawal
Diffstat (limited to 'src/types/dbTypes.ts')
-rw-r--r--src/types/dbTypes.ts14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/types/dbTypes.ts b/src/types/dbTypes.ts
index 4cf19a56e..07c59d4d3 100644
--- a/src/types/dbTypes.ts
+++ b/src/types/dbTypes.ts
@@ -273,13 +273,17 @@ export interface ReserveRecord {
*/
exchangeWire: string;
- bankWithdrawStatusUrl?: string;
-
/**
- * URL that the bank gave us to redirect the customer
- * to in order to confirm a withdrawal.
+ * Extra state for when this is a withdrawal involving
+ * a Taler-integrated bank.
*/
- bankWithdrawConfirmUrl?: string;
+ bankInfo?: {
+ statusUrl: string;
+ confirmUrl?: string;
+ amount: AmountJson;
+ bankWithdrawalGroupId: string;
+ withdrawalStarted: boolean;
+ };
reserveStatus: ReserveRecordStatus;