Skip to main content

Create an automatic withdrawal.

Create an automatic withdrawal whenever the balance on the account reaches a threshold.

Request Body
minBtcThreshold integer

Minimum amount of BTC to withdraw

walletId string

Wallet ID

Responses
200

Success. Returns the newly created automatic withdrawal plan.

Schema
entity string
items object
id uuid
minBtcThreshold number
isActive boolean
isCanceled boolean
createdAt date-time
walletId uuid
400

Missing or invalid parameters.

401

Access token is missing or invalid, or access is out of scope.

404

Automatic Withdrawal plan not found or inaccessible for the authenticated user/vendor.

422

Invalid extended public key or error deriving addresses from extended public key.