Ledger balances

Create balance monitor

How to create a balance monitor in Blnk.

POST/balance-monitors

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.

Body

balance_idstringrequiredbody

Specifies the balance id of the ledger balance to be monitored.

conditionobjectrequiredbody

Defines the criteria for monitoring a specific balance type.

descriptionstringbody

A brief explanation of the purpose of the monitor.

Response

monitor_idstring

The unique id of the balance monitor.

created_atstring

Date and time when the monitor was created.