diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-29 23:10:41 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-29 23:10:41 +0530 |
commit | c8553f3bc53064d157b56220e9d2333b8931e7a5 (patch) | |
tree | 408159da65252498e7f676d54dbde3c2c3275c0b /src/types/walletTypes.ts | |
parent | dfe5e95bc8537e13c482fff42cfefeb090eb2e09 (diff) | |
download | wallet-core-c8553f3bc53064d157b56220e9d2333b8931e7a5.tar.xz |
tweaks to pay APIv0.7.1-dev.13
Diffstat (limited to 'src/types/walletTypes.ts')
-rw-r--r-- | src/types/walletTypes.ts | 9 |
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; |