summaryrefslogtreecommitdiff
path: root/design-documents
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-03-28 01:10:45 -0300
committerSebastian <sebasjm@gmail.com>2023-03-28 01:10:45 -0300
commit118a3d0c590ee5da60a686d1bcb159a07e7bc5d7 (patch)
tree967f3561306efc2eded39e3908903d29e693f2a9 /design-documents
parentaaf0a13e67da693ed538c280242432af18287658 (diff)
downloaddocs-118a3d0c590ee5da60a686d1bcb159a07e7bc5d7.tar.gz
docs-118a3d0c590ee5da60a686d1bcb159a07e7bc5d7.tar.bz2
docs-118a3d0c590ee5da60a686d1bcb159a07e7bc5d7.zip
removing suspend state in withdrawal because is implicit that every pending/aborting can be suspended
Diffstat (limited to 'design-documents')
-rw-r--r--design-documents/037-wallet-transactions-lifecycle.rst16
1 files changed, 7 insertions, 9 deletions
diff --git a/design-documents/037-wallet-transactions-lifecycle.rst b/design-documents/037-wallet-transactions-lifecycle.rst
index e8251949..d542dd9e 100644
--- a/design-documents/037-wallet-transactions-lifecycle.rst
+++ b/design-documents/037-wallet-transactions-lifecycle.rst
@@ -151,7 +151,7 @@ user. So special-casing this and testing this is IMO just not worth it.
and selected exchange to the bank (via the bank integration API).
* ``[processed-success] => pending(bank-confirming)``
- * ``[processed-error(bank-aborted)] => aborted(bank)``
+ * ``[processed-error(bank-aborted)] => aborted(bank-to-wallet)``
* ``pending(bank-confirming)``
@@ -170,16 +170,10 @@ user. So special-casing this and testing this is IMO just not worth it.
* ``pending(withdrawing-coins)``
- * ``[action:suspend] => suspended``
* ``[processed-success] => done``
- * ``[processed-kyc-required] => kyc-required``
-
-* ``suspended``
+ * ``[processed-kyc-required] => pending(kyc-required)``
- * ``[action:resume] => pending``
- * ``[action:abort] => aborted(after-wired)``
-
-* ``kyc-required``
+* ``pending(kyc-required)``
* ``[poll-success] => pending(withdrawing-coins)``
@@ -210,6 +204,10 @@ user. So special-casing this and testing this is IMO just not worth it.
Only once all coins were spent, the withdraw is fully removed.
+.. image:: ../transaction-withdrawal-states.svg
+ :width: 800
+
+
Transaction Type: Payment to Merchant
-------------------------------------