Crypto
Confirm a withdrawal
POST/api/v1/crypto/withdrawals/{withdrawalID}/confirm
Spends the emailed code and moves the amount out of the balance; the withdrawal is then sent.
Authorization
Bearer sk_test_… or sk_live_…Path parameters#
withdrawalIDuuidRequired
Headers#
X-Fastpay-ModestringOptionalOne of
test,live.
Body parameters#
codestringRequiredUp to 10 characters.
Responses#
- 200OK
- 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.