From efbde0e16033542ae104f5365be5cee6e65ef7b0 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 29 Mar 2023 00:06:24 -0300 Subject: handle kyc error on invoice and transfer --- packages/taler-wallet-core/src/db.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/taler-wallet-core/src/db.ts') diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index a7bdda3ec..cd676b7ca 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -1781,6 +1781,7 @@ export enum PeerPullPaymentInitiationStatus { * invoice and deposit money into it. */ PurseCreated = 11 /* ACTIVE_START + 1 */, + KycRequired = 12 /* ACTIVE_START + 2 */, PurseDeposited = 50 /* DORMANT_START */, } @@ -1831,12 +1832,15 @@ export interface PeerPullPaymentInitiationRecord { */ status: PeerPullPaymentInitiationStatus; + kycInfo?: KycPendingInfo; + withdrawalGroupId: string | undefined; } export enum PeerPushPaymentIncomingStatus { Proposed = 30 /* USER_ATTENTION_START */, Accepted = 10 /* ACTIVE_START */, + KycRequired = 11 /* ACTIVE_START + 1 */, /** * Merge was successful and withdrawal group has been created, now * everything is in the hand of the withdrawal group. @@ -1887,6 +1891,8 @@ export interface PeerPushPaymentIncomingRecord { * with older (ver_minor<4) DB versions. */ currency: string | undefined; + + kycInfo?: KycPendingInfo; } export enum PeerPullPaymentIncomingStatus { -- cgit v1.2.3