Creates a new withdrawal request to transfer funds from a venue to a blockchain address or fiat destination. The withdrawal will be processed asynchronously and may require approval depending on configuration.
curl --request POST \
--url https://api.staging.layer1.com/trade/v1/venues/withdrawals \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"asset": {
"code": "ETH"
},
"amount": "0.5",
"venue": "binance",
"reference": "WITHDRAW-ETH-001",
"blockchainDestination": {
"address": 6.6325114945411165e+47,
"network": "ETH",
"tag": null
}
}
'{
"id": "123e4567-e89b-12d3-a456-426614174000",
"asset": {
"code": "ETH"
},
"venue": "binance",
"status": "PENDING_APPROVAL",
"amount": "0.5",
"blockchainDestination": {
"address": 6.6325114945411165e+47,
"network": "ETH"
},
"reference": "WITHDRAW-ETH-001",
"venueTransferId": null,
"createdAt": "2023-10-01T12:00:00Z",
"updatedAt": "2023-10-01T12:00:00Z",
"blockchainMetadata": null,
"fiatMetadata": null,
"failureMessage": null
}Documentation Index
Fetch the complete documentation index at: https://exness-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Withdrawal request containing asset, amount, venue, and destination details
The asset to withdraw
"ETH"
Amount to withdraw
1.5
The venue where the withdrawal should be processed
"binance"
Unique reference for the withdrawal
"WITHDRAW-123"
Blockchain destination details for the withdrawal
Show child attributes
Fiat destination details for the withdrawal
Show child attributes
Withdrawal request created successfully
Unique identifier of the withdrawal
"123e4567-e89b-12d3-a456-426614174000"
The asset being withdrawn
"ETH"
The venue where the withdrawal was made
"binance"
Current status of the withdrawal
SIMULATED, APPROVAL_REQUESTED, PENDING, SUBMITTED, COMPLETED, FAILED, CANCELLED "COMPLETED"
Amount of the withdrawal
1.5
Blockchain destination details for the withdrawal
Show child attributes
Fiat destination details for the withdrawal
Show child attributes
Unique reference for the withdrawal
"WITHDRAW-123"
Unique identifier of the withdrawal at the venue
"WITHDRAW-456"
Timestamp when the withdrawal was created
Timestamp when the withdrawal was last updated
Additional blockchain-related metadata for the withdrawal
Show child attributes
Additional fiat-related metadata for the withdrawal
Error message if the withdrawal failed
"Insufficient funds"
curl --request POST \
--url https://api.staging.layer1.com/trade/v1/venues/withdrawals \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"asset": {
"code": "ETH"
},
"amount": "0.5",
"venue": "binance",
"reference": "WITHDRAW-ETH-001",
"blockchainDestination": {
"address": 6.6325114945411165e+47,
"network": "ETH",
"tag": null
}
}
'{
"id": "123e4567-e89b-12d3-a456-426614174000",
"asset": {
"code": "ETH"
},
"venue": "binance",
"status": "PENDING_APPROVAL",
"amount": "0.5",
"blockchainDestination": {
"address": 6.6325114945411165e+47,
"network": "ETH"
},
"reference": "WITHDRAW-ETH-001",
"venueTransferId": null,
"createdAt": "2023-10-01T12:00:00Z",
"updatedAt": "2023-10-01T12:00:00Z",
"blockchainMetadata": null,
"fiatMetadata": null,
"failureMessage": null
}