commit 5c1364894e127812c7ae37f6f6a5677e759aa41f parent b52ff32d67833fa11917690255b59e740b8b1e70 Author: Florian Dold <florian@dold.me> Date: Thu, 16 Feb 2023 21:52:32 +0100 spec withdrawal transaction Diffstat:
| M | design-documents/037-wallet-transactions-lifecycle.rst | | | 31 | ++++++++++++++++++++++++++++++- |
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/design-documents/037-wallet-transactions-lifecycle.rst b/design-documents/037-wallet-transactions-lifecycle.rst @@ -92,7 +92,36 @@ or starts the necessary steps to actively abort the transaction (e.g. to avoid l Transaction Type: Withdrawal ---------------------------- -TBD. +* ``pending(bank-register-reserve)`` + + Initial state for bank-integrated withdrawals. + + * ``[processing-success] => pending(bank-confirming)`` + * ``[processing-error(bank-aborted)] => aborted(bank)`` + +* ``pending(bank-confirming)`` + + * ``[poll-success] => pending(exchange-wait-reserve)`` + +* ``pending(exchange-wait-reserve)`` + + Initial state for manual withdrawals. + + * ``[poll-success] => pending(withdrawing-coins)`` + +* ``pending(withdrawing-coins)`` + + * ``[processing-success] => done`` + * ``[processing-kyc-required] => kyc-required`` + +* ``kyc-required`` + + * ``[poll-success] => pending(withdrawing-coins)`` + +* ``aborted(bank)``: The bank notified the wallet that the withdrawal + was aborted on the side of the bank and won't proceed. + +* ``done`` Transaction Type: Payment to Merchant -------------------------------------