diff options
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index d8e62dca0..d4d6119fb 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -1463,11 +1463,6 @@ export interface DenomSelectionState { }[]; } -export interface WireAccountDetails { - paytoUri: string; - creditRestrictions?: AccountRestriction[]; -} - /** * Information about what will happen doing a withdrawal. * @@ -2770,6 +2765,26 @@ export interface TestingWaitTransactionRequest { } export interface WithdrawalAccountInfo { + /** + * Payto URI to credit the exchange. + * + * Depending on whether the (manual!) withdrawal is accepted or just + * being checked, this already includes the subject with the + * reserve public key. + */ paytoUri: string; + + /** + * Transfer amount. Might be in a different currency than the requested + * amount for withdrawal. + * + * Redundant with the amount in paytoUri, just included to avoid parsing. + */ transferAmount: AmountString; + + /** + * Further restrictions for sending money to the + * exchange. + */ + creditRestrictions?: AccountRestriction[]; } |