nemesis_omniguard_score
Score transactions against Omniguard business-logic rules to classify as allow, review, or block. Test end-to-end with a dry-run mode that evaluates rules without metering or persistence.
Instructions
Score a transaction against an Omniguard function (allow / review / block) — test the business-logic rules end to end. Defaults to a dry_run (evaluates rules, no metering/persistence). Needs the Omniguard ingest token and function_id from nemesis_create_omniguard. Pass the risk signals the rules check (amount, country vs card_country, card_type, cvv_result, three_ds_status, is_new_device, decline_count).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | true = score for real (meters against quota). Default false = dry_run test. | |
| functionId | Yes | The Omniguard function id to score against | |
| ingestToken | Yes | Omniguard ingest token (from nemesis_create_omniguard) | |
| transaction | Yes | Transaction fields, e.g. { "amount": 900000, "currency": "NGN", "channel": "checkout", "country": "RU", "card_country": "US", "card_type": "virtual", "cvv_result": "N", "three_ds_status": "failed" } |