summaryrefslogtreecommitdiff
path: root/src/types/walletTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-29 23:10:41 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-29 23:10:41 +0530
commitc8553f3bc53064d157b56220e9d2333b8931e7a5 (patch)
tree408159da65252498e7f676d54dbde3c2c3275c0b /src/types/walletTypes.ts
parentdfe5e95bc8537e13c482fff42cfefeb090eb2e09 (diff)
downloadwallet-core-c8553f3bc53064d157b56220e9d2333b8931e7a5.tar.gz
wallet-core-c8553f3bc53064d157b56220e9d2333b8931e7a5.tar.bz2
wallet-core-c8553f3bc53064d157b56220e9d2333b8931e7a5.zip
tweaks to pay APIv0.7.1-dev.13
Diffstat (limited to 'src/types/walletTypes.ts')
-rw-r--r--src/types/walletTypes.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/types/walletTypes.ts b/src/types/walletTypes.ts
index a6bc26d88..9f0bfaf37 100644
--- a/src/types/walletTypes.ts
+++ b/src/types/walletTypes.ts
@@ -329,19 +329,20 @@ export type PreparePayResult =
export interface PreparePayResultPaymentPossible {
status: PreparePayResultType.PaymentPossible;
proposalId: string;
- contractTermsRaw: string;
- totalFees: AmountJson;
+ contractTerms: string;
+ amountRaw: string;
+ amountEffective: string;
}
export interface PreparePayResultInsufficientBalance {
status: PreparePayResultType.InsufficientBalance;
proposalId: string;
- contractTermsRaw: any;
+ contractTerms: any;
}
export interface PreparePayResultAlreadyConfirmed {
status: PreparePayResultType.AlreadyConfirmed;
- contractTermsRaw: any;
+ contractTerms: any;
paid: boolean;
// Only specified if paid.
nextUrl?: string;