{ "opencollection": "1.0.0", "info": { "name": "Lithic 3DS Auth Rules API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Auth Rules", "type": "folder" }, "items": [ { "info": { "name": "List rules", "type": "http" }, "http": { "method": "GET", "url": "https://api.lithic.com/v2/auth_rules" }, "docs": "Lists V2 Auth rules" }, { "info": { "name": "Create a new rule", "type": "http" }, "http": { "method": "POST", "url": "https://api.lithic.com/v2/auth_rules", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new V2 Auth rule in draft mode" }, { "info": { "name": "Fetch a rule", "type": "http" }, "http": { "method": "GET", "url": "https://api.lithic.com/v2/auth_rules/:auth_rule_token" }, "docs": "Fetches a V2 Auth rule by its token" }, { "info": { "name": "Update a rule", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.lithic.com/v2/auth_rules/:auth_rule_token", "body": { "type": "json", "data": "{}" } }, "docs": "Updates a V2 Auth rule's properties If `account_tokens`, `card_tokens`, `program_level`, `excluded_card_tokens`, `excluded_account_tokens`, or `excluded_business_account_tokens` is provided, this will replace existing associations with the provided list of entities." }, { "info": { "name": "Delete a rule", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.lithic.com/v2/auth_rules/:auth_rule_token" }, "docs": "Deletes a V2 Auth rule" }, { "info": { "name": "Draft a new rule version", "type": "http" }, "http": { "method": "POST", "url": "https://api.lithic.com/v2/auth_rules/:auth_rule_token/draft", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new draft version of a rule that will be ran in shadow mode. This can also be utilized to reset the draft parameters, causing a draft version to no longer be ran in shadow mode." }, { "info": { "name": "Calculated Feature values", "type": "http" }, "http": { "method": "GET", "url": "https://api.lithic.com/v2/auth_rules/:auth_rule_token/features" }, "docs": "Fetches the current calculated Feature values for the given Auth Rule This only calculates the features for the active version. - VelocityLimit Rules calculates the current Velocity Feature data. This requires a `card_token` or `account_token` matching what the rule is Scoped to. - ConditionalBlock" }, { "info": { "name": "Promote a rule version", "type": "http" }, "http": { "method": "POST", "url": "https://api.lithic.com/v2/auth_rules/:auth_rule_token/promote" }, "docs": "Promotes the draft version of an Auth rule to the currently active version such that it is enforced in the respective stream." }, { "info": { "name": "List rule versions", "type": "http" }, "http": { "method": "GET", "url": "https://api.lithic.com/v2/auth_rules/:auth_rule_token/versions" }, "docs": "Returns all versions of an auth rule, sorted by version number descending (newest first)." }, { "info": { "name": "Retrieve a performance report", "type": "http" }, "http": { "method": "GET", "url": "https://api.lithic.com/v2/auth_rules/:auth_rule_token/report" }, "docs": "Retrieves a performance report for an Auth rule containing daily statistics and evaluation outcomes. **Time Range Limitations:** - Reports are supported for the past 3 months only - Maximum interval length is 1 month - Report data is available only through the previous day in UTC (current day data" }, { "info": { "name": "List backtests", "type": "http" }, "http": { "method": "GET", "url": "https://api.lithic.com/v2/auth_rules/:auth_rule_token/backtests" }, "docs": "Lists backtests for an Auth Rule" }, { "info": { "name": "Request a backtest", "type": "http" }, "http": { "method": "POST", "url": "https://api.lithic.com/v2/auth_rules/:auth_rule_token/backtests", "body": { "type": "json", "data": "{}" } }, "docs": "Initiates a request to asynchronously generate a backtest for an Auth rule. During backtesting, both the active version (if one exists) and the draft version of the Auth Rule are evaluated by replaying historical transaction data against the rule's conditions. This process allows customers to simula" }, { "info": { "name": "Retrieve backtest results", "type": "http" }, "http": { "method": "GET", "url": "https://api.lithic.com/v2/auth_rules/:auth_rule_token/backtests/:auth_rule_backtest_token" }, "docs": "Returns the backtest results of an Auth rule (if available). Backtesting is an asynchronous process that requires time to complete. If a customer retrieves the backtest results using this endpoint before the report is fully generated, the response will return null for `results.current_version` and" }, { "info": { "name": "List rule evaluation results", "type": "http" }, "http": { "method": "GET", "url": "https://api.lithic.com/v2/auth_rules/results" }, "docs": "Lists Auth Rule evaluation results. **Limitations:** - Results are available for the past 3 months only - At least one filter (`event_token` or `auth_rule_token`) must be provided - When filtering by `event_token`, pagination is not supported" } ] } ], "bundled": true }