{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Fail-GenericError1",
  "title": "Fail-GenericError1",
  "required": [
    "paymentId",
    "cancellationId",
    "code",
    "message",
    "requestId"
  ],
  "type": "object",
  "description": "Cancellation failure information.",
  "properties": {
    "paymentId": {
      "type": "string",
      "description": "The same `paymentId` sent in the request."
    },
    "cancellationId": {
      "type": "string",
      "nullable": true,
      "description": "Provider's cancellation identifier. If the operation has failed you **MUST** return `null`."
    },
    "code": {
      "type": "string",
      "description": "Provider's operation/error code to be logged. Return `cancel-manually` if you do not support this operation, so we can send a notification to the merchant."
    },
    "message": {
      "type": "string",
      "description": "Provider's operation/error message to be logged."
    },
    "requestId": {
      "type": "string",
      "description": "The same `requestId` sent in the request."
    }
  }
}