Ledger balances
Create balance monitor
How to create a balance monitor in Blnk.
POST
If you’re using the auto-provisioned
Enterprise Core instance included with your Production License deployment, set the base URL to: https://ENTERPRISE_PUBLIC_URL/core.If you’re connecting to a different Core instance, use the publicly accessible base URL for that instance instead.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: Scoped API keys and Secure your Blnk server.
Body
Specifies the balance id of the ledger balance to be monitored.
Defines the criteria for monitoring a specific balance type.
Specifies the URL where notifications will be sent when the balance crosses the defined threshold.
A brief explanation of the purpose of the monitor.
Response
All parameters from the request body also mean the same in the corresponding response JSON.
The unique id of the balance monitor.
Date and time when the monitor was created.