diff options
author | Sebastian <sebasjm@gmail.com> | 2023-03-29 00:06:24 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-03-29 00:06:24 -0300 |
commit | efbde0e16033542ae104f5365be5cee6e65ef7b0 (patch) | |
tree | 65129a0a7e9a9791fcd38343841878a54ad49bf6 /packages/taler-wallet-core/src/db.ts | |
parent | f414ca39e446563eb10c3c20defe79952fe71e6a (diff) | |
download | wallet-core-efbde0e16033542ae104f5365be5cee6e65ef7b0.tar.xz |
handle kyc error on invoice and transfer
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 6 |
1 files changed, 6 insertions, 0 deletions
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 { |