Blnk Watch is a lightweight, rule-based transaction monitoring engine.Watch evaluates transactions using rules written in a simple domain specific language (DSL) called WatchScript .ws.Here’s how it works: you send transactions to Watch, and it returns a risk verdict, so you can enforce limits, detect fraud, and stay compliant without running heavy infrastructure.In this quick start, you will:
Start the Watch service
Write a rule
Send a transaction for evaluation
See the risk decision
Let’s dive in!
1
Install Blnk Watch
Direct download
Build from source
Install Watch with direct download (no repo or Go required), then start the service:
If successful (200), Watch queues the transaction for evaluation.
Response
{ "message": "Call GET /transactions/{id} to fetch the processed transaction or set ALERT_WEBHOOK_URL to get webhooks when a rule triggers for the transaction.", "transaction_id": "txn_quickstart_001"}
The verdict appears because the transaction amount, 5000 USD, triggered the rule.Try sending another transaction with a smaller amount, such as 3000 USD. Because it does not meet the rule condition, the rule will not trigger. You can also experiment with different amounts or currencies to see how the rule behaves.