Lithic · Schema

Auth Rule Patch Request

FinTechBaaSCard IssuingPaymentsEmbedded Finance

Properties

Name Type Description
state string The desired state of the Auth Rule. Note that only deactivating an Auth Rule through this endpoint is supported at this time. If you need to (re-)activate an Auth Rule the /promote endpoint should be
name object
View JSON Schema on GitHub

JSON Schema

lithic-patch-auth-rule-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/patch-auth-rule-request",
  "title": "Auth Rule Patch Request",
  "type": "object",
  "properties": {
    "state": {
      "description": "The desired state of the Auth Rule.\n\nNote that only deactivating an Auth Rule through this endpoint is supported at this time. If you need to (re-)activate an Auth Rule the /promote endpoint should be used to promote a draft to the currently active version.",
      "type": "string",
      "const": "INACTIVE"
    },
    "name": {
      "$ref": "#/components/schemas/auth-rule-name"
    }
  },
  "anyOf": [
    {
      "title": "Account Level Rule",
      "type": "object",
      "properties": {
        "account_tokens": {
          "$ref": "#/components/schemas/account-tokens"
        },
        "business_account_tokens": {
          "$ref": "#/components/schemas/business-account-tokens"
        }
      }
    },
    {
      "title": "Card Level Rule",
      "type": "object",
      "properties": {
        "card_tokens": {
          "$ref": "#/components/schemas/card-tokens"
        }
      }
    },
    {
      "title": "Program Level Rule",
      "type": "object",
      "properties": {
        "program_level": {
          "$ref": "#/components/schemas/program-level"
        },
        "excluded_card_tokens": {
          "$ref": "#/components/schemas/excluded-card-tokens"
        },
        "excluded_account_tokens": {
          "$ref": "#/components/schemas/excluded-account-tokens"
        },
        "excluded_business_account_tokens": {
          "$ref": "#/components/schemas/excluded-business-account-tokens"
        }
      }
    }
  ]
}