aboutsummaryrefslogtreecommitdiff
path: root/src/types/walletTypes.ts
diff options
context:
space:
mode:
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;