{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wordline/main/json-schema/wordline-cancel-mandate-request-schema.json",
  "title": "CancelMandateRequest",
  "x-generated": "2026-10-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wordline-account-api-openapi.yml#/components/schemas/CancelMandateRequest",
  "type": "object",
  "required": [
    "cancellationReason"
  ],
  "properties": {
    "cancellationDate": {
      "type": "string",
      "format": "date-time",
      "description": "SEPA mandate cancellation date.\nA date in the future can be provided (mandate is cancelled when the date is reached), otherwise defaults to the current date (mandate is cancelled immediately)."
    },
    "cancellationReason": {
      "type": "string",
      "description": "SEPA mandate cancellation reason\nList of mandate possible cancelation reasons:\n(RECEIVED_FINAL,USER_ACTION,\nOBSCOLESCENCE,\nREFUSED,\nREVOCATION_ASKED_BY_DEBTOR,\nREVOCATION_ASKED_BY_CREDITOR,\nDELETION_ASKED_BY_DEBTOR,\nDELETION_ASKED_BY_CREDITOR)"
    },
    "validateMandate": {
      "type": "boolean",
      "description": "Deprecated field – not to be used"
    },
    "cancelMandateOnExternalSystem": {
      "type": "boolean",
      "description": "Deprecated field – not to be used"
    }
  }
}