{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bbandt-corp/main/json-schema/bbandt-corp-update-payment-request-schema.json",
  "title": "Request definition for status update",
  "description": "Update payment status",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bbandt-corp-credit-transfers-approval-reject-api-openapi.yml#/components/schemas/UpdatePaymentRequest",
  "type": "object",
  "properties": {
    "status": {
      "$ref": "#/$defs/UpdateStatus"
    },
    "payments": {
      "description": "Unique identifiers for payments",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "status",
    "payments"
  ],
  "$defs": {
    "UpdateStatus": {
      "title": "Update real time payment schema",
      "description": "Update payment status",
      "type": "string",
      "enum": [
        "APPROVE",
        "REJECT"
      ]
    }
  }
}