diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-05-12 14:08:58 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-05-12 14:09:10 +0530 |
commit | 6206b418ff88a238762a18e7b6eeaceafc5de294 (patch) | |
tree | c4d947770ccf50e362abf083953f55140046fc2a /src/types/dbTypes.ts | |
parent | 857a2b9dcaf64d4298027644f8e6716fa22db941 (diff) | |
download | wallet-core-6206b418ff88a238762a18e7b6eeaceafc5de294.tar.xz |
new transactions API: withdrawal
Diffstat (limited to 'src/types/dbTypes.ts')
-rw-r--r-- | src/types/dbTypes.ts | 14 |
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; |