Getting Started
Ledger Balances
Transactions
Identities
Create Balance Monitor
POST
/
balance-monitors
Create Balance Monitor
Copy
curl --request POST \
--url http://localhost:5001/balance-monitors \
--header 'Content-Type: application/json' \
--data '{
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"condition": {
"field": "debit_balance",
"operator": ">",
"value": 100000
},
"call_back_url": "https://api.myapp.com/balancemonitor"
}'
Copy
{
"monitor_id": "mon_e0e77b0c-4985-472a-9bf5-76a48b0259b0",
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"condition": {
"field": "debit_balance",
"operator": ">",
"value": 100000
},
"description": "",
"call_back_url": "https://api.myapp.com/balancemonitor",
"created_at": "2024-02-20T05:56:58.257315054Z"
}
Body
application/json
The body is of type object
.
Response
201 - application/json; charset=utf-8
Created
The response is of type object
.
Was this page helpful?
Create Balance Monitor
Copy
curl --request POST \
--url http://localhost:5001/balance-monitors \
--header 'Content-Type: application/json' \
--data '{
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"condition": {
"field": "debit_balance",
"operator": ">",
"value": 100000
},
"call_back_url": "https://api.myapp.com/balancemonitor"
}'
Copy
{
"monitor_id": "mon_e0e77b0c-4985-472a-9bf5-76a48b0259b0",
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"condition": {
"field": "debit_balance",
"operator": ">",
"value": 100000
},
"description": "",
"call_back_url": "https://api.myapp.com/balancemonitor",
"created_at": "2024-02-20T05:56:58.257315054Z"
}
Assistant
Responses are generated using AI and may contain mistakes.