Skip to main content

Execute Crypto Withdraw

This endpoint executes a crypto withdrawal transaction. Funds will be sent to the specified beneficiary address.

Technical Details​

  • Grace Period: All withdrawals are subject to a 5-minute grace period. During this time, the transaction remains in pending status and can be cancelled.
  • Processing: After the grace period expires, the transaction is automatically picked up for processing and sent to the blockchain.
  • Webhooks: This operation triggers the crypto_transaction_created webhook.
Authorization:

bearer

HTTP: bearer

HTTP Authorization Scheme: bearer

Headers:
Authorization: APIKey {YOUR_API_KEY}

Endpoint

POST

/api/v2/crypto/withdraw

Request Body Sample​

{
"accountId": "00000000-0000-0000-0000-000000000000",
"beneficiaryId": "00000000-0000-0000-0000-000000000000",
"coin": "BTC",
"amount": "0.0001",
"description": "Withdrawal to my wallet",
"previewId": "00000000-0000-0000-0000-000000000000",
"reference": "client-reference-123"
}

Request Body Schema​

FieldTypeDescription
accountIduuidRequired. The account ID to trade from.
beneficiaryIduuidRequired. The beneficiary ID to withdraw to.
coinstringRequired. The coin to withdraw (e.g., BTC).
amountdecimalRequired. The amount to withdraw.
descriptionstringOptional. The description of the withdrawal.
previewIduuidOptional. Preview ID from the preview response.
referencestringRequired. Client reference for the transaction (must be unique per account).

Response Sample​

{
"transactionId": "00000000-0000-0000-0000-000000000000"
}

Support and Resources​

If you need assistance or have any questions, our support team is here to help. You can contact our support team at support@blockwyre.com.

Stay Updated​

Stay up-to-date with the latest news, updates, and features from BlockWyre by following us on social media:

We are excited to have you on board and look forward to seeing how you leverage BlockWyre's powerful tools to enhance your financial operations. Happy integrating!