Skip to main content
PATCH
/
wallet-toggle-auto-withdraw
curl --request PATCH \
  --url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/wallet-toggle-auto-withdraw \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true
}
'
{
  "success": true,
  "status": 200,
  "data": {
    "auto_withdraw": false
  }
}

Authorizations

Authorization
string
header
required

JWT access token obtained from /auth-verify (login context) or /auth-signup. Set the bearer_token environment variable in your API client to apply it globally.

Body

application/json
enabled
boolean
required

Set to true to automatically transfer newly released escrow/milestone funds to the default payout account. Set to false to keep released funds in the wallet.

Response

Auto-withdrawal preference updated

success
boolean
Example:

true

status
integer
Example:

200

data
object