Skip to content
FFastPay Docs

Crypto

Cancel a withdrawal

POST/api/v1/crypto/withdrawals/{withdrawalID}/cancel

Cancels a withdrawal still awaiting its code. Nothing has left the balance; its code stops working. Cancelling again returns the same withdrawal; one already confirmed is 409.

AuthorizationBearer sk_test_… or sk_live_…

Path parameters#

  • withdrawalIDuuidRequired

Headers#

  • X-Fastpay-ModestringOptional

    One of test, live.

Responses#

  • 200Cancelled
  • 400The request could not be read.
  • 401The secret key is missing, invalid or revoked.
  • 403The key is not allowed to do this, or the request came from an address that is not on its allowlist.
  • 404Nothing was found for this business and mode.
  • 409The request clashes with the current state, such as a reference reused with different details.