{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/methodfi/main/json-schema/methodfi-account-consent-update-request-schema.json", "title": "AccountConsentUpdateRequest", "description": "Request body for updating account consent.", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/methodfi-account-consent-api-openapi.yml#/components/schemas/AccountConsentUpdateRequest", "type": "object", "required": [ "type" ], "properties": { "type": { "type": "string", "description": "The consent action to take.", "enum": [ "withdraw" ] }, "reason": { "type": "string", "description": "Optional reason for the consent action." } } }