post-withdrawal-operation-WITHDRAWAL_ID-abort.rst (659B)
1 .. http:post:: /withdrawal-operation/$WITHDRAWAL_ID/abort 2 3 Aborts ``WITHDRAWAL_ID`` operation. Has no effect on an already aborted 4 operation. This endpoint can be used by the wallet if the user aborts 5 the transaction, ensuring that the operation is also aborted at the 6 bank. 7 8 Since protocol **v2**. 9 10 **Request:** 11 12 The request body is empty. 13 14 **Response:** 15 16 :http:statuscode:`204 No content`: 17 The withdrawal operation has been aborted. 18 :http:statuscode:`404 Not found`: 19 The withdrawal operation was not found. 20 :http:statuscode:`409 Conflict`: 21 The withdrawal operation has been confirmed previously and 22 can't be aborted.