commit 9c7363a8746f52e75576b4f8915a69bac68482dd parent b8d08792ca8c1cda50f965ee9b7a6981fee316fe Author: Antoine A <> Date: Sat, 16 Dec 2023 16:31:44 +0000 Update corebank API Diffstat:
| M | core/api-bank-integration.rst | | | 14 | ++++++++++++++ |
| M | core/api-corebank.rst | | | 14 | -------------- |
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/core/api-bank-integration.rst b/core/api-bank-integration.rst @@ -195,3 +195,17 @@ for the withdrawal operation (the ``WITHDRAWAL_ID``) to interact with the withdr // Does not guarantee that the funds have arrived at the exchange already. transfer_done: boolean; } + +.. http:post:: /withdrawal-operation/$WITHDRAWAL_ID/abort + + Aborts ``WITHDRAWAL_ID`` operation. Has no effect on an already aborted + operation. + + **Response:** + + :http:statuscode:`204 No content`: + The withdrawal operation has been aborted. + :http:statuscode:`404 Not found`: + The withdrawal operation was not found. + :http:statuscode:`409 Conflict`: + The withdrawal operation has been confirmed previously and can't be aborted. diff --git a/core/api-corebank.rst b/core/api-corebank.rst @@ -677,20 +677,6 @@ Taler Withdrawals taler_withdraw_uri: string; } -.. http:post:: /accounts/$USERNAME/withdrawals/$WITHDRAWAL_ID/abort - - Aborts ``WITHDRAWAL_ID`` operation. Has no effect on an already aborted - operation. - - **Response:** - - :http:statuscode:`204 No content`: - The withdrawal operation has been aborted. - :http:statuscode:`404 Not found`: - The withdrawal operation was not found. - :http:statuscode:`409 Conflict`: - The withdrawal operation has been confirmed previously and can't be aborted. - .. http:post:: /accounts/$USERNAME/withdrawals/$WITHDRAWAL_ID/confirm Confirms ``WITHDRAWAL_ID`` operation. Has no effect on an already confirmed