Ledger balances
Update balance monitor
Update the details of a balance monitor.
/balance-monitors/{monitor_id}Authorization
If set, the API uses an API key for authentication. Include the following header in your requests: X-blnk-key: <api-key>.
Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.
See also: Core API key.
Path
monitor_idstring
The unique id of the balance monitor to update.
Body
balance_idstring
Specifies the balance id of the ledger balance to be monitored.
conditionobject
Defines the criteria for monitoring a specific balance type.
triggerstring
How you want the monitor to behave. edge notifies you once when the rule first matches, then stays quiet until the amount no longer matches.
level notifies you on every transaction that updates the balance while the rule still matches.
descriptionstring
A brief explanation of the purpose of the monitor. The PUT writes this as sent.
Response
messagestring
Confirms the monitor was updated.