Ledger balances
View balance monitor details
Get one balance monitor with the Go SDK.
GET
View balance monitor details
Use
client.BalanceMonitor.Get to retrieve a balance monitor by ID.
Use the monitor details
Read the returned
monitor for the threshold condition, webhook URL, and linked BalanceID.Response
200 OK
| Field | Type | Description |
|---|---|---|
monitor_id | string | Unique ID for the monitor. |
balance_id | string | Balance being monitored. |
condition | object | Threshold rule for the monitor. |
condition.field | string | Balance field to watch (for example credit_balance, debit_balance, balance). |
condition.operator | string | Comparison operator: >, <, =, !=, >=, <=. |
condition.value | number | Threshold amount. |
condition.precision | number | Currency precision (for example 100 for cents). |
call_back_url | string | Webhook URL for notifications. |
description | string | Description for the monitor. |
created_at | string | Date and time when the monitor was created. |
Related docs
Balance monitoring
Conditions and webhook behavior.
View balance monitor details
HTTP request and response schema.