{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fintecture/main/json-schema/fintecture-merchant-transaction-schema.json",
  "title": "MerchantTransaction",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fintecture-transactions-api-openapi.yml#/components/schemas/MerchantTransaction",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "amount": {
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "debit",
        "credit"
      ]
    },
    "status": {
      "type": "string"
    },
    "booking_date": {
      "type": "string",
      "format": "date"
    },
    "value_date": {
      "type": "string",
      "format": "date"
    },
    "description": {
      "type": "string"
    },
    "related_payment_id": {
      "type": "string"
    },
    "related_settlement_id": {
      "type": "string"
    }
  }
}