summaryrefslogtreecommitdiff
path: root/core/api-bank-integration.rst
diff options
context:
space:
mode:
authorAntoine A <>2023-12-16 16:31:44 +0000
committerAntoine A <>2023-12-16 16:31:44 +0000
commit9c7363a8746f52e75576b4f8915a69bac68482dd (patch)
treee3f36b904814c32c299f1a6c5cc19a0d5610ed39 /core/api-bank-integration.rst
parentb8d08792ca8c1cda50f965ee9b7a6981fee316fe (diff)
downloaddocs-9c7363a8746f52e75576b4f8915a69bac68482dd.tar.gz
docs-9c7363a8746f52e75576b4f8915a69bac68482dd.tar.bz2
docs-9c7363a8746f52e75576b4f8915a69bac68482dd.zip
Update corebank API
Diffstat (limited to 'core/api-bank-integration.rst')
-rw-r--r--core/api-bank-integration.rst14
1 files changed, 14 insertions, 0 deletions
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.