From 9c7363a8746f52e75576b4f8915a69bac68482dd Mon Sep 17 00:00:00 2001 From: Antoine A <> Date: Sat, 16 Dec 2023 16:31:44 +0000 Subject: Update corebank API --- core/api-bank-integration.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'core/api-bank-integration.rst') diff --git a/core/api-bank-integration.rst b/core/api-bank-integration.rst index d1d3a64b..d4c9b600 100644 --- 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. -- cgit v1.2.3