{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/meet-align-com/json-schema/meet-align-com-payment-body-schema.json",
  "title": "PaymentBody",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/meet-align-com-api-openapi.json#/components/schemas/PaymentBody",
  "properties": {
    "agreementId": {
      "type": "string",
      "format": "uuid",
      "title": "Agreementid"
    },
    "provider": {
      "type": "string",
      "maxLength": 40,
      "minLength": 2,
      "title": "Provider"
    },
    "providerPaymentRef": {
      "type": "string",
      "maxLength": 200,
      "minLength": 3,
      "title": "Providerpaymentref"
    },
    "providerCustomerRef": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Providercustomerref"
    },
    "providerSubscriptionRef": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Providersubscriptionref"
    },
    "amountCents": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Amountcents"
    },
    "currency": {
      "type": "string",
      "maxLength": 3,
      "minLength": 3,
      "title": "Currency"
    },
    "status": {
      "type": "string",
      "enum": [
        "confirmed",
        "failed"
      ],
      "title": "Status"
    },
    "isTest": {
      "type": "boolean",
      "title": "Istest",
      "default": false
    },
    "periodStart": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Periodstart"
    },
    "periodEnd": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Periodend"
    },
    "reason": {
      "type": "string",
      "maxLength": 500,
      "minLength": 3,
      "title": "Reason"
    }
  },
  "type": "object",
  "required": [
    "agreementId",
    "provider",
    "providerPaymentRef",
    "amountCents",
    "currency",
    "status",
    "reason"
  ]
}