curl --request PUT \
--url http://localhost:3091/v1/api/users/auto-withdrawal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"threshold": 11
}
'{}Enable/disable automatic withdrawals and set the balance threshold that triggers a payout.
curl --request PUT \
--url http://localhost:3091/v1/api/users/auto-withdrawal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"threshold": 11
}
'{}