{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monite/json-schema/monite-batch-payment-link-response-schema.json",
  "title": "BatchPaymentLinkResponse",
  "description": "Response schema for a batch payment link.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monite-batch-payment-links-api-openapi.yml#/components/schemas/BatchPaymentLinkResponse",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "error": {
      "type": "object"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "payment_page_url": {
      "type": "string",
      "maxLength": 2083,
      "minLength": 1,
      "format": "uri"
    },
    "status": {
      "$ref": "#/$defs/PaymentsBatchPaymentStatus"
    },
    "total_amount": {
      "type": "integer"
    }
  },
  "type": "object",
  "required": [
    "id",
    "created_at",
    "expires_at",
    "payment_page_url",
    "status"
  ],
  "$defs": {
    "PaymentsBatchPaymentStatus": {
      "type": "string",
      "enum": [
        "created",
        "processing",
        "partially_successful",
        "succeeded",
        "failed",
        "expired"
      ]
    }
  }
}