Lithic · Schema

Financial Event Data

Details specific to financial events

FinTechBaaSCard IssuingPaymentsEmbedded Finance

Properties

Name Type Description
type string Event type discriminator
stage string Stage at which the financial event occurred
amount integer Amount in minor units
polarity string Direction of funds flow
View JSON Schema on GitHub

JSON Schema

lithic-financial-event-data-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/financial-event-data",
  "title": "Financial Event Data",
  "description": "Details specific to financial events",
  "type": "object",
  "properties": {
    "type": {
      "description": "Event type discriminator",
      "type": "string",
      "const": "FINANCIAL"
    },
    "stage": {
      "description": "Stage at which the financial event occurred",
      "type": "string",
      "enum": [
        "CHARGEBACK",
        "REPRESENTMENT",
        "PREARBITRATION",
        "ARBITRATION",
        "COLLABORATION"
      ]
    },
    "amount": {
      "description": "Amount in minor units",
      "type": "integer"
    },
    "polarity": {
      "description": "Direction of funds flow",
      "type": "string",
      "enum": [
        "CREDIT",
        "DEBIT"
      ]
    }
  },
  "required": [
    "type",
    "stage",
    "amount",
    "polarity"
  ]
}