Skip to main content
PUT
Save the wallet's settings in one go, as Balance's save bar does: the low-balance alert (`alert_enabled`, `alert_threshold_halalas`, `alert_email`) and optionally the auto top-up (`auto_topup`: enabled, threshold, amount, card); answers the settings.

Authorizations

Authorization
string
header
required

An account token from Settings › Account API in the Tawked console: Authorization: Bearer tk_acct_…

Headers

Idempotency-Key
string

One per intended change (1 to 128 printable ASCII characters): a retry with the same key and the same request answers the stored 2xx with Idempotent-Replayed: true, for 24 hours. A 428 approval_required is never stored: send the approved request again with the same key or none. An answer that carried a secret shown once is never kept: its replay answers 409 idempotency_secret_not_replayable with the id of what it made.

Required string length: 1 - 128
Tawked-Approval
string<uuid>

The id of an approval its person approved (approvals.show answers approved): the same request then runs, once.

Body

application/json
alert_enabled
boolean
required
alert_email
string<email> | null
Maximum string length: 191
alert_threshold_halalas
integer

Only when alert_enabled is true or 1.

Required range: 1 <= x <= 10000000
auto_topup
object

Response

Done.

data
object
required