Crypto
Add a withdrawal address
POST/api/v1/crypto/addresses
Checks with the provider that the coin can be sent there, then emails the business admin a code bound to this address. Every owner and admin is told.
Authorization
Bearer sk_test_… or sk_live_…Headers#
X-Fastpay-ModestringOptionalOne of
test,live.
Body parameters#
addressstringRequiredassetstringRequiredlabelstringOptionalUp to 60 characters.
Responses#
- 201Added; a code was sent
- 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.