cURL
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" }'
{ "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" }
Show child attributes
{ "field": "debit_balance", "operator": ">", "value": 100000}
Created
Was this page helpful?