Skip to main content

Create Withdraw

Create Withdraw

This endpoint processes a withdrawal request based on a previously created intent.

Endpoint

  • Path: /withdraw
  • Method: POST

Request

  • Parameters:
    • intent_id: The unique identifier of the intent.
    • address: The destination address to which the funds should be sent. ⚠️ Important: Make sure the address is compatible with the selected blockchain network.
      Sending funds to an invalid or incompatible address may result in permanent loss of assets.

Response

  • Fields
    • id: Unique identifier for the withdraw.
    • state: The current state of the withdraw.
    • amount: The withdrawn amount.

Description

Initiates a withdrawal based on a previously created intent, sending the specified amount to the provided destination address.
Ensure that the intent_id is valid and corresponds to a withdrawal intent that is ready to be processed.