Initialize a digital asset withdrawal
POST/v1/digital/withdrawal
Starts the digital asset withdrawal process. This endpoint:
- Validates withdrawal details and user membership
- Creates a withdrawal record
- Calculates and charges appropriate fees
- Initiates transaction within appropriate Blockchain Network
- Returns withdrawal initial data
- Supports various digital assets
- Transaction will trigger following webhooks, if underlaying statuses are met: WITHDRAW_TRANSACTION_INITIALIZED, WITHDRAW_TRANSACTION_FAILED and WITHDRAW_TRANSACTION_SUCCEEDED
Request
- application/json
Body
required
Digital asset withdrawal initialization data
User ID
Unique identifier for the wallet
Amount to withdraw
Asset identifier (UUID, type string like BTC, or ISO 4217 code)
Destination digital address
Description or details of the withdrawal
Reference number for the withdrawal (optional)
Destination memo/tag for supported cryptocurrencies
External transaction ID for tracking purposes
Whether the amount includes fees (gross amount)
Responses
- 201
- 400
- 403
- 404
The digital asset withdrawal process was started successfully.
- application/json
- Schema
- Example (from schema)
Schema
data
object
sourceWallet
object
required
destinationWallet
object
required
{
"traceId": "string",
"message": "string",
"data": {
"id": "string",
"endToEndId": "string",
"externalDestination": "string",
"externalSource": "string",
"type": "string",
"status": "string",
"amount": "string",
"currencyCode": "string",
"platform": "string",
"referenceNumber": "string",
"note": "string",
"sourceWallet": {
"accountNumber": "string",
"address": "string",
"nickname": "string",
"archived": true
},
"destinationWallet": {
"accountNumber": "string",
"address": "string",
"nickname": "string",
"archived": true
},
"asset": "string",
"createdAt": "2024-07-29T15:51:28.071Z"
}
}
Invalid request payload. This can happen if required fields are missing or have invalid formats.
- application/json
- Schema
- Example (from schema)
Schema
{
"traceId": "string",
"message": "string"
}
The API key is invalid or the client does not have sufficient permissions.
- application/json
- Schema
- Example (from schema)
Schema
{
"traceId": "string",
"message": "string"
}
One of the specified resources was not found. Does not apply for empty result set.
- application/json
- Schema
- Example (from schema)
Schema
{
"traceId": "string",
"message": "string"
}