Lithic · Schema

Workflow Event Data

Details specific to workflow events

FinTechBaaSCard IssuingPaymentsEmbedded Finance

Properties

Name Type Description
type string Event type discriminator
stage string Current stage of the dispute workflow
action string Action taken in this stage
reason stringnull Reason for the action
amount integernull Amount in minor units
disposition stringnull Dispute resolution outcome
View JSON Schema on GitHub

JSON Schema

lithic-workflow-event-data-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/workflow-event-data",
  "title": "Workflow Event Data",
  "description": "Details specific to workflow events",
  "type": "object",
  "properties": {
    "type": {
      "description": "Event type discriminator",
      "type": "string",
      "const": "WORKFLOW"
    },
    "stage": {
      "description": "Current stage of the dispute workflow",
      "type": "string",
      "enum": [
        "CLAIM"
      ]
    },
    "action": {
      "description": "Action taken in this stage",
      "type": "string",
      "enum": [
        "OPENED",
        "CLOSED",
        "REOPENED"
      ]
    },
    "reason": {
      "description": "Reason for the action",
      "type": [
        "string",
        "null"
      ]
    },
    "amount": {
      "description": "Amount in minor units",
      "type": [
        "integer",
        "null"
      ]
    },
    "disposition": {
      "description": "Dispute resolution outcome",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "WON",
        "LOST",
        "PARTIALLY_WON",
        "WITHDRAWN",
        "DENIED",
        null
      ]
    }
  },
  "required": [
    "type",
    "stage",
    "action",
    "reason",
    "amount",
    "disposition"
  ]
}