Skip to main content
PUT
/
trades
/
wallets
/
{id}
/
auto-settlement
Set Auto Settlement Status
curl --request PUT \
  --url https://api.breet.io/v1/trades/wallets/{id}/auto-settlement \
  --header 'Content-Type: application/json' \
  --header 'X-Breet-Env: <api-key>' \
  --header 'x-app-id: <api-key>' \
  --header 'x-app-secret: <api-key>' \
  --data '
{
  "autoSettlement": true
}
'
{ "message": "auto settlement enabled successfully", "success": true, "data": { "walletId": "696a5f2fa6bec4ab8a8d86f8", "autoSettlement": true }, "meta": {}, "summary": {}, "stats": {} }

Authorizations

x-app-id
string
header
required

Your application ID from the Breet dashboard

x-app-secret
string
header
required

Your application secret from the Breet dashboard

X-Breet-Env
string
header
required

Environment selector: development or production

Path Parameters

id
string
required

ID of the wallet to configure.

Body

application/json
autoSettlement
boolean

Set to true to automatically settle incoming crypto to the linked bank account, or false to hold funds in the wallet.

Response

Auto-settlement status updated successfully