Lynx · Schema

PatchMemberTransactionSubstantiationRequest

CompanyHealthcareFintechPaymentsBenefitsHealth SavingsEmbedded FinanceCard IssuingInsurance

Properties

Name Type Description
data object
idempotency object Unique identifier that represents the operation
View JSON Schema on GitHub

JSON Schema

lynx-patch-member-transaction-substantiation-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lynx/json-schema/lynx-patch-member-transaction-substantiation-request-schema.json",
  "title": "PatchMemberTransactionSubstantiationRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lynx-substantiation-api-openapi.yml#/components/schemas/PatchMemberTransactionSubstantiationRequest",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/MemberTransactionSubstantiationData"
    },
    "idempotency": {
      "$ref": "#/$defs/Idempotency",
      "description": "Unique identifier that represents the operation"
    }
  },
  "required": [
    "data",
    "idempotency"
  ],
  "$defs": {
    "BaseMember": {
      "type": "object",
      "properties": {
        "clientMemberId": {
          "type": "string",
          "description": "Unique client-side identifier for the member"
        }
      },
      "required": [
        "clientMemberId"
      ]
    },
    "ClientOrgDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the client organization"
        }
      },
      "required": [
        "name"
      ]
    },
    "Idempotency": {
      "type": "object",
      "properties": {
        "idempotencyKey": {
          "type": "string",
          "description": "Unique identifier that represents the operation"
        }
      }
    },
    "MemberRecurringExpenseData": {
      "type": "object",
      "properties": {
        "frequency": {
          "type": "string",
          "description": "Indicates the time period in days for the recurring expense to occur.  Required when Recurring Expense Indicator is true",
          "enum": [
            "WEEKLY",
            "BIWEEKLY",
            "MONTHLY",
            "BIMONTHLY",
            "QUARTERLY"
          ]
        },
        "expirationDate": {
          "type": "string",
          "description": "Indicates the expiration date for the recurring expense.  Required when Recurring Expense Indicator is true"
        },
        "padDays": {
          "type": "integer",
          "format": "int32",
          "description": "Number of days to pad plus or minus during weekly, bi-weekly, monthly, bi-monthly, and quarterly recurring substantiation.  The number of pad days cannot be greater than the recurring expense frequency.  Standard timeframes are typically:  Weekly 7 days +/- 2 pad days, bi-monthly 15 days +/- 4 pad days, Monthly 30 days +/- 7 pad days, bi-monthly 60 days +/- 10 pad days, Quarterly 90 days +/- 15 pad days.  Required when Recurring Expense Indicator is true."
        }
      }
    },
    "MemberTransactionSubstantiationData": {
      "type": "object",
      "properties": {
        "clientOrg": {
          "$ref": "#/$defs/ClientOrgDto",
          "description": "The name of the client organization"
        },
        "member": {
          "$ref": "#/$defs/BaseMember"
        },
        "transactionId": {
          "type": "string",
          "format": "uuid",
          "description": "Internal unique identifier for the monetary transaction"
        },
        "stage": {
          "type": "string",
          "description": "Substantiation stage for the member transaction.  Possible values:  PNDS1 = Pending - Stage 1, PMIS1 = Pending More Info - Stage 1, IELS1 = Ineligible - Stage 1, PNDAR = Pending - Approved Receipt, PMIAR = Pending More Info - Approved Receipt, IELPR = Ineligible - Plan Reimbursed",
          "enum": [
            "PNDS1",
            "PMIS1",
            "IELS1",
            "PNDAR",
            "PMIAR",
            "IELPR"
          ]
        },
        "additionalInformationRequested": {
          "type": "string",
          "description": "Describes the type of additional information that is needed in order to review the transaction for manual substantiation.  Field is required when Substantiation Stage is PMIS1 (Pending More Info - Stage 1)"
        },
        "ineligibleAmount": {
          "type": "number",
          "description": "Amount that is not eligible based on IRS guidelines for qualified medical expenses.  Field is required when Substantiation Stage is IELS1 (Ineligible - Stage 1)."
        },
        "ineligibleReason": {
          "type": "string",
          "description": "Reason why the expense is not eligible.  Field is required when Substantiation Stage is IELS1 (Ineligible - Stage 1)"
        },
        "serviceType": {
          "type": "string",
          "description": "Describes the type of service that was rendered.  Field is required when Substantiation Stage is PNDS1 (Pending - Stage 1), PMIS1 (Pending More Info - Stage 1), and IELS1 (Ineligible - Stage 1)"
        },
        "comment": {
          "type": "string",
          "description": "Free-form note regarding the review of the transaction"
        },
        "recurringExpense": {
          "$ref": "#/$defs/MemberRecurringExpenseData",
          "description": "Used to flag the transaction as a recurring expense so that subsequent transactions that match on amount, merchant, and time period are fully substantiated without the need for submission of a receipt or further review. Fields may only be passed when manually substantiating a transaction, i.e. Substantiation Stage is PNDAR (Pending - Approved Receipt) or PMIAR (Pending More Info - Approved Receipt)"
        }
      },
      "required": [
        "clientOrg",
        "member",
        "stage",
        "transactionId"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lynx-patch-member-transaction-substantiation-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.