API

Inject Transaction

Inject a transaction into the watch system for real-time risk evaluation.

POST/inject

When using Watch, use this endpoint to inject a transaction into the service for real-time risk evaluation.

Any extra Blnk attributes you want rules to use should be sent inside meta_data.

Body

amountnumberbody

The transaction amount to evaluate.

currencystringbody

The three-letter ISO currency code. For example, USD.

transaction_idstringbody

A unique identifier for the transaction. If not provided, Watch generates a UUID.

sourcestringbody

The source balance identifier.

destinationstringbody

The destination balance identifier.

descriptionstringbody

A free-form description of the transaction.

created_atstringbody

The transaction timestamp in ISO 8601 format. If not provided, Watch uses the current server time.

meta_dataobjectbody

Additional metadata as key-value pairs. Use this to pass Blnk attributes needed by your rules.