{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fleetwire/json-schema/fleetwire-partner-charge-update-schema.json",
  "title": "PartnerChargeUpdate",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/fleetwire-openapi-openapi.json#/components/schemas/PartnerChargeUpdate",
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "voided",
        "amount_changed",
        "paid_at_authority",
        "disputed",
        "dispute_resolved"
      ]
    },
    "amount_cents": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000,
      "description": "Required for `amount_changed` and `dispute_resolved`. `0` voids the charge."
    },
    "reason": {
      "type": "string",
      "maxLength": 200
    }
  }
}