Withdraws funds from the card holding account to the specified wallet address. Requires an API key with access level 3 or higher.
This endpoint is currently not implemented and will return HTTP 500. The payload and response shapes below reflect the planned contract.
Body
Destination wallet address for the withdrawal.
Amount to withdraw. Up to 10 integer digits and 6 decimal places.
Response
On-chain transaction hash.
Transaction status. Possible values: PENDING, COMPLETED, FAILED.
Simple error message if the transaction failed.
Detailed error message with additional context.
curl -X POST "https://api.cryptomate.me/cards/holding/withdraw" \
-H "X-API-KEY: $CRYPTOMATE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to_wallet_address": "0x1234567890abcdef1234567890abcdef12345678",
"amount": 100.50
}'
{
"transaction_hash": "0xabc123def456abc123def456abc123def456abc123def456abc123def456abcd",
"status": "PENDING",
"simple_error_message": null,
"detailed_error_message": null
}