List rules

Auth Rules

Overview

This document outlines the structure and parameters for retrieving Auth Rules from the Lithic API.

Parameters

ending_before

page_size

starting_after

card_token

account_token

business_account_token

scope

event_stream

event_streams

Auth Rules Structure

Response Structure

Example Auth Rule

{
  "data": [
    {
      "token": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "state": "ACTIVE",
      "program_level": true,
      "card_tokens": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
      "excluded_card_tokens": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
      "excluded_account_tokens": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
      "excluded_business_account_tokens": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
      "account_tokens": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
      "business_account_tokens": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
      "type": "CONDITIONAL_BLOCK",
      "current_version": {"parameters": {"conditions": [{"attribute": "MCC", "operation": "IS_ONE_OF", "value": "string"}]}, "version": 0},
      "draft_version": {"parameters": {"conditions": [{"attribute": "MCC", "operation": "IS_ONE_OF", "value": "string"}]}, "version": 0, "state": "PENDING", "error": "string"},
      "name": "string",
      "event_stream": "AUTHORIZATION",
      "lithic_managed": true
    }
  ],
  "has_more": true
}