Lynx Substantiation API

The Substantiation API from Lynx — 5 operation(s) for substantiation.

Operations 5

GET /substantiation/list Get All Member Substantiation Summary by Client #
PATCH /substantiation/member-substantiation Update Member Transaction Substantiation Status #
GET /substantiation/member-substantiation/history Get Member Transaction Substantiation History #
DELETE /substantiation/receipt Delete Member Substantiation Receipt #
POST /substantiation/receipts Upload Receipts to Member Substantiation #

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-get-member-account-balance-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-member-account-status-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-post-member-account-transfer-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-patch-member-account-request-doc-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-get-client-org-bank-account-balance-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-get-member-account-transfer-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-doc-post-dependent-card-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-reissue-card-request-doc-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-replace-card-request-doc-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-card-status-change-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-get-member-cards-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-member-card-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-post-member-claim-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-put-member-claim-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-persist-claims-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-get-claims-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-get-claim-detail-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-client-org-substantiation-model-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-client-org-subscribed-events-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-patch-client-org-substantiation-model-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-client-org-application-token-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-client-org-application-token-request-doc-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-client-org-substantiation-model-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-calculate-sales-tax-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-post-member-ecommerce-order-request-doc-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-post-replace-ecommerce-order-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-put-commerce-sales-tax-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-post-ecommerce-refund-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-validate-coupon-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-member-view-commerce-classification-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-client-org-exclusion-list-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-commerce-commodity-list-doc-model-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-commerce-catalog-facets-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-get-commodity-detail-doc-model-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-get-client-org-exclusion-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-doc-client-org-copay-group-create-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-doc-client-org-copay-group-edit-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-doc-copay-group-get-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-copay-group-get-detail-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-copay-create-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-patch-member-enrollment-request-doc-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-client-org-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-get-member-enrollments-by-client-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-patch-member-enrollment-response-doc-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-base-member-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-member-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-doc-create-client-org-external-bank-account-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-doc-member-bank-account-request-verified-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-doc-update-bank-account-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-doc-member-bank-account-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-doc-link-account-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-get-member-external-accounts-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-client-org-notification-configuration-data-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-client-org-notification-configuration-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-patch-client-org-notification-configuration-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-post-client-org-notification-configuration-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-ad-hoc-notification-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/lynx/refs/heads/main/json-schema/lynx-patch-member-notification-status-request-schema.json

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/lynx:lynx-substantiation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

lynx-substantiation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SERVICE Substantiation API
  description: ''
  termsOfService: http://lynx-fh.com
  license:
    name: LynxFH
    url: http://lynx-fh.com
  version: <Insert version with key 'api.service.ver' within application.properties>
servers:
- url: https://sandbox.lynx-fh.co
security:
- bearerAuth: []
tags:
- name: Substantiation
paths:
  /substantiation/list:
    get:
      tags:
      - Substantiation
      summary: Get All Member Substantiation Summary by Client
      description: 'This API will return a list of transactions requiring substantiation associated to member

        accounts at the root client organization level.'
      operationId: getAllMemberSubstantiations
      parameters:
      - name: clientOrgName
        in: query
        description: The name of the client organization
        required: true
        schema:
          type: string
        example: Health_Plan_ABC_Division
      - name: clientMemberId
        in: query
        description: Unique client-side identifier for the member
        required: false
        schema:
          type: string
        example: 3f50436491
      - name: memberName
        in: query
        description: Search by Member name
        required: false
        schema:
          type: string
        example: lastName or firstName
      - name: status
        in: query
        description: Status of the member transaction substantiation.
        required: false
        schema:
          type: string
          enum:
          - PENDING
          - NOT_SUBSTANTIATED
          - SUBSTANTIATED
          - BLOCKED
          - BLOCKED_WITH_ERROR
        example: NOT_SUBSTANTIATED
      - name: stageCode
        in: query
        description: Substantiation stage of the member transaction
        required: false
        schema:
          type: string
          enum:
          - PNDS1
          - PNDS2
          - PNDS3
          - PNDS4
          - PMIS1
          - PMIS2
          - PMIS3
          - PMIS4
          - IELS1
          - IELS2
          - IELS3
          - IELS4
          - ALL_PENDING
          - ALL_PENDING_MORE_INFO
          - ALL_INELIGIBLE
          - AUTO
        example: PNDS1
      - name: sortValue
        in: query
        description: The property by which the response is sorted
        required: false
        schema:
          type: string
        example: 'Allowed values: transactionDate, firstName, lastName, substantiationStage'
      - name: sortOrder
        in: query
        description: The sort direction
        required: false
        schema:
          type: string
          default: Descending
          enum:
          - Ascending
          - Descending
        example: 'Allowed values: Descending, Ascending'
      - name: page
        in: query
        description: Page number to be returned. If not specified, default is 1.
        required: false
        schema:
          type: integer
          default: 1
        example: 1
      - name: pageSize
        in: query
        description: Maximum number of items to be returned per page. If not specified, default is 25.
        required: false
        schema:
          type: integer
          default: 25
        example: 25
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMemberSubstantiationResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseResponse'
        '401':
          description: Not authorized
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseResponse'
  /substantiation/member-substantiation:
    patch:
      tags:
      - Substantiation
      summary: Update Member Transaction Substantiation Status
      description: 'This API is used to manually substantiate a member transaction as an eligible expense or

        update the substantiation stage if additional information is needed or the expense is deemed ineligible'
      operationId: patchMemberSubstantiation
      requestBody:
        description: This is the patch MemberTransactionSubstantiation request body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchMemberTransactionSubstantiationRequest'
        required: true
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchMemberTransactionSubstantiationResponse'
        '400':
          description: 'Bad request.

            - GBL-328: Only transactions with a substantiation status of Not Substantiated may be updated

            - GBL-329: ineligibleAmount must be greater than 0 and cannot be greater than the transaction amount if substantiationStage is IELS1

            - GBL-330: For current stage, allowed next stage values are restricted

            - GBL-331: You cannot update a MemberRecurringExpense associated with the MemberSubstantiation

            - GBL-332: padDays cannot be greater than recurringExpenseFrequency

            - GBL-333: expirationDate must be greater than the required number of days from today''s date

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseResponse'
        '401':
          description: Not authorized
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseResponse'
  /substantiation/member-substantiation/history:
    get:
      tags:
      - Substantiation
      summary: Get Member Transaction Substantiation History
      description: This API will return substantiation history for a member transaction.
      operationId: getMemberSubstantiationHistory
      parameters:
      - name: clientOrgName
        in: query
        description: The name of the client organization
        required: true
        schema:
          type: string
        example: Health_Plan_ABC_Division
      - name: clientMemberId
        in: query
        description: Unique client-side identifier for the member
        required: true
        schema:
          type: string
        example: 3f50436491
      - name: transactionId
        in: query
        description: Internal unique identifier for the monetary transaction
        required: true
        schema:
          type: string
          format: uuid
        example: 4dbdba69-4875-47c5-a663-04d9aee9ee91
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMemberSubstantiationHistoryResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseResponse'
        '401':
          description: Not authorized
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseResponse'
  /substantiation/receipt:
    delete:
      tags:
      - Substantiation
      summary: Delete Member Substantiation Receipt
      description: Delete Member Substantiation Receipt.
      operationId: deleteMemberSubstantiationReceipt
      parameters:
      - name: clientOrgName
        in: query
        description: The name of the client organization
        required: true
        schema:
          type: string
        example: Health_Plan_ABC_Division
      - name: clientMemberId
        in: query
        description: Unique client-side identifier for the member
        required: true
        schema:
          type: string
        example: 3f50436491
      - name: substantiationId
        in: query
        description: Member Substantiation Id
        required: true
        schema:
          type: string
          format: uuid
        example: cf82639c-e3b6-4d51-9871-0e452a2b1566
      - name: receiptId
        in: query
        description: Receipt Id
        required: true
        schema:
          type: string
          format: uuid
        example: cf82639c-e3b6-4d51-9871-0e452a2b1
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BaseResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseResponse'
        '401':
          description: Not authorized
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseResponse'
  /substantiation/receipts:
    post:
      tags:
      - Substantiation
      summary: Upload Receipts to Member Substantiation
      description: Allow members to upload receipts to Member Substantiation
      operationId: addReceipts
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                data:
                  $ref: '#/components/schemas/MemberUploadReceiptDoc'
                files:
                  type: array
                  items:
                    type: string
                    format: binary
              required:
              - data
              - files
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddReceiptResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseResponse'
        '401':
          description: Not authorized
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseResponse'
components:
  schemas:
    Idempotency:
      type: object
      properties:
        idempotencyKey:
          type: string
          description: Unique identifier that represents the operation
          example: cf82639c-e3b6-4d51-9871-0e452a2b1566
    MemberSubstantiationHistory:
      type: object
      properties:
        status:
          type: string
          description: Status of the member transaction substantiation.
          enum:
          - PENDING
          - NOT_SUBSTANTIATED
          - SUBSTANTIATED
          - BLOCKED
          - BLOCKED_WITH_ERROR
        stage:
          type: string
          description: Substantiation stage of the member transaction
          enum:
          - PNDS1
          - PNDS2
          - PNDS3
          - PNDS4
          - PMIS1
          - PMIS2
          - PMIS3
          - PMIS4
          - IELS1
          - IELS2
          - IELS3
          - IELS4
          - PNDAR
          - PMIAR
          - IELPR
          - AUTO
        stageName:
          type: string
          description: Substantiation stage name
        stageStatusDate:
          type: string
          format: date-time
          description: Date the substantiation activity occurred
        methodApplied:
          type: string
          description: Method of substantiation for the member transaction; possible values are Manual, Copay, Recurring Expense, de Minimis, and IIAS
      required:
      - methodApplied
      - stage
      - stageName
      - stageStatusDate
      - status
    AddReceiptResponse:
      type: object
      properties:
        clientOrg:
          $ref: '#/components/schemas/ClientOrgDto'
        member:
          $ref: '#/components/schemas/BaseMember'
        transactionId:
          type: string
          format: uuid
        receipts:
          type: array
          items:
            $ref: '#/components/schemas/ReceiptData'
      required:
      - clientOrg
      - member
      - receipts
      - transactionId
    BaseMember:
      type: object
      properties:
        clientMemberId:
          type: string
          description: Unique client-side identifier for the member
          example: 3f50436491
      required:
      - clientMemberId
    BaseResponse:
      type: object
      properties:
        data:
          type: object
        exceptions:
          type: array
          items:
            $ref: '#/components/schemas/ResponseException'
    MemberUploadReceiptDoc:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/MemberSubstantiationReceiptData'
        idempotency:
          $ref: '#/components/schemas/Idempotency'
          description: Unique identifier that represents the operation
          example: cf82639c-e3b6-4d51-9871-0e452a2b1566
      required:
      - data
      - idempotency
    GetMemberSubstantiationHistoryResponse:
      type: object
      properties:
        clientOrg:
          $ref: '#/components/schemas/ClientOrgDto'
          description: The name of the client organization
        clientMemberId:
          type: string
          description: Unique client-side identifier for the member
        firstName:
          type: string
          description: First name
        lastName:
          type: string
          description: Last name
        referenceIdentifier:
          type: string
          description: Transaction reference identifier
        transactionId:
          type: string
          format: uuid
          description: Internal unique identifier for the monetary transaction
        history:
          type: array
          items:
            $ref: '#/components/schemas/MemberSubstantiationHistory'
        receipts:
          type: array
          items:
            $ref: '#/components/schemas/ReceiptData'
      required:
      - clientMemberId
      - clientOrg
      - firstName
      - lastName
      - referenceIdentifier
      - transactionId
    PatchMemberTransactionSubstantiationResponse:
      type: object
      properties:
        clientMemberId:
          type: string
          description: Unique client-side identifier for the member
        transactionId:
          type: string
          format: uuid
          description: Internal unique identifier for the monetary transaction
          example: 4dbdba69-4875-47c5-a663-04d9aee9ee91
      required:
      - clientMemberId
      - transactionId
    MemberSubstantiationReceiptData:
      type: object
      properties:
        clientOrg:
          $ref: '#/components/schemas/ClientOrgDto'
        member:
          $ref: '#/components/schemas/BaseMember'
        memberTransactionId:
          type: string
          format: uuid
          description: Member Transaction Id
          example: cf82639c-e3b6-4d51-9871-0e452a2b1566
      required:
      - clientOrg
      - member
      - memberTransactionId
    ClientOrgDto:
      type: object
      properties:
        name:
          type: string
          description: The name of the client organization
          example: Health_Plan_ABC_Division
      required:
      - name
    GetMemberSubstantiationResponse:
      type: object
      properties:
        clientOrg:
          $ref: '#/components/schemas/ClientOrgDto'
          description: The name of the client organization
        substantiation:
          type: array
          items:
            $ref: '#/components/schemas/MemberSubstantiationDetail'
      required:
      - clientOrg
    PatchMemberTransactionSubstantiationRequest:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/MemberTransactionSubstantiationData'
        idempotency:
          $ref: '#/components/schemas/Idempotency'
          description: Unique identifier that represents the operation
          example: cf82639c-e3b6-4d51-9871-0e452a2b1566
      required:
      - data
      - idempotency
    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
          example: MONTHLY
        expirationDate:
          type: string
          description: Indicates the expiration date for the recurring expense.  Required when Recurring Expense Indicator is true
          example: '2025-12-31'
        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.'
          example: 7
    ReceiptData:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Id
          example: cf82639c-e3b6-4d51-9871-0e452a2b1566
        s3Path:
          type: string
          description: s3 path to the file
          example: /client/clientOrgName/Member/Client_Member_id/Receipt/id
      required:
      - id
      - s3Path
    MemberTransactionSubstantiationData:
      type: object
      properties:
        clientOrg:
          $ref: '#/components/schemas/ClientOrgDto'
          description: The name of the client organization
          example: Lorem
        member:
          $ref: '#/components/schemas/BaseMember'
        transactionId:
          type: string
          format: uuid
          description: Internal unique identifier for the monetary transaction
          example: 4dbdba69-4875-47c5-a663-04d9aee9ee91
        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
          example: PMIS1
        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)
          example: The documentation submitted does not indicate what service(s) were rendered. Please submit an itemized statement indicating the service/product, date and cost
        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).
          example: 1500.75
        ineligibleReason:
          type: string
          description: Reason why the expense is not eligible.  Field is required when Substantiation Stage is IELS1 (Ineligible - Stage 1)
          example: Cosmetic procedures are not eligible
        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)
          example: Laboratory Tests
        comment:
          type: string
          description: Free-form note regarding the review of the transaction
          example: Member uploaded receipt on 05/16; reviewed on 05/18 and approved as eligible expense
        recurringExpense:
          $ref: '#/components/schemas/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
    ResponseException:
      type: object
      properties:
        errorCode:
          type: string
          description: The GBL error code that is populated when the exceptionSource is SYSTEM
        exceptionSource:
          type: string
          description: Characterizes the type of exception (JSON, SYSTEM, PARAMETER)
        exceptionMessage:
          type: string
          description: Additional information about the exception
    MemberSubstantiationDetail:
      type: object
      properties:
        clientMemberId:
          type: string
          description: Unique client-side identifier for the member
        firstName:
          type: string
          description: First name
        lastName:
          type: string
          description: Last name
        transactionDate:
          type: string
          format: date-time
          description: Date of service that triggered this transaction
        partnerTransactionId:
          type: string
          format: uuid
          description: Card processor uuid for the transaction
        mcc:
          type: integer
          format: int32
          description: Code representing the merchant's line of business
        merchantName:
          type: string
          description: Name of merchant accepting the original transaction
        amount:
          type: number
          description: Dollar transaction amount
        direction:
          type: string
          description: Debit vs Credit
        referenceIdentifier:
          type: string
          description: Transaction reference identifier
        stage:
          type: string
          description: Substantiation stage of the member transaction
          enum:
          - PNDS1
          - PNDS2
          - PNDS3
          - PNDS4
          - PMIS1
          - PMIS2
          - PMIS3
          - PMIS4
          - IELS1
          - IELS2
          - IELS3
          - IELS4
          - PNDAR
          - PMIAR
          - IELPR
          - AUTO
        stageName:
          type: string
          description: Substantiation stage name
        nextStage:
          type: string
          description: Next substantiation stage the member transaction will be moved to if no other manual activities occur
          enum:
          - PNDS1
          - PNDS2
          - PNDS3
          - PNDS4
          - PMIS1
          - PMIS2
          - PMIS3
          - PMIS4
          - IELS1
          - IELS2
          - IELS3
          - IELS4
          - PNDAR
          - PMIAR
          - IELPR
          - AUTO
        nextStatusDate:
          type: string
          format: date-time
          description: Date the member transaction will be moved to the next substantiation stage if no other manual activities occur
        status:
          type: string
          description: Status of the member transaction substantiation.
          enum:
          - PENDING
          - NOT_SUBSTANTIATED
          - SUBSTANTIATED
          - BLOCKED
          - BLOCKED_WITH_ERROR
        receipts:
          type: array
          items:
            $ref: '#/components/schemas/ReceiptData'
      required:
      - amount
      - clientMemberId
      - direction
      - firstName
      - lastName
      - mcc
      - merchantName
      - nextStage
      - nextStatusDate
      - partnerTransactionId
      - referenceIdentifier
      - stage
      - stageName
      - status
      - transactionDate
    ExceptionBaseResponse:
      type: object
      properties:
        data:
          type: object
          description: 'null'
        exceptions:
          type: array
          items:
            $ref: '#/components/schemas/ResponseException'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-provenance:
  method: searched
  source: https://docs.lynx-fh.com/reference
  harvested: '2026-10-14'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://docs.lynx-fh.com/reference/addreceipts.md
  - https://docs.lynx-fh.com/reference/deletemembersubstantiationreceipt.md
  - https://docs.lynx-fh.com/reference/getallmembersubstantiations.md
  - https://docs.lynx-fh.com/reference/getmembersubstantiationhistory.md
  - https://docs.lynx-fh.com/reference/patchmembersubstantiation.md
  merge:
    pages: 5
    deduped: 19
    conflicts_kept_first: 0