API
Blnk webhook
Receive Blnk Core webhook events and inject transactions into Watch for real-time risk evaluation.
POST
/blnkwebhookUse this endpoint when Blnk Core sends transaction events to Watch through a transaction hook. Watch unwraps the webhook payload, injects the transaction, and evaluates it against your active instructions.
This follows the same evaluation flow as inject transaction. After processing, use get verdict to read the result, or configure ALERT_WEBHOOK_URL to receive alerts when rules match.
Body
eventstring
The Blnk webhook event name. For example, transaction.created.
dataobject
The transaction object from Blnk Core. Field names match Blnk transaction naming - transaction_id, amount, currency, source, destination, created_at, meta_data, and so on.
Notes
- If
data.transaction_idis missing, Watch generates a UUID before evaluation. - If
data.created_atis missing, Watch uses the current server time. - On success, the response body is plain text, not JSON.