{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evictionsapi-com/json-schema/evictionsapi-com-payment-method-schema.json",
  "title": "PaymentMethod",
  "description": "The default card for the automatic charges of full-service cases, in the key's mode, as the older `/v1/payment-method` routes show it: its brand and last four only. `failed`: the card was declined, and the cases waiting on a payment stay on hold until a card that works is saved.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evictionsapi-com-payment-method-api-openapi.yml#/components/schemas/PaymentMethod",
  "type": "object",
  "required": [
    "brand",
    "lastFour",
    "status"
  ],
  "properties": {
    "brand": {
      "type": [
        "string",
        "null"
      ]
    },
    "lastFour": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "enum": [
        "usable",
        "failed"
      ]
    }
  }
}