---
updatedAt: 2026-07-27T10:30:03.000Z
agentTools:
  projectIndex: https://docs.cermatiprotect.com/llms.txt
---

# Cancel Application

Cancel the created application.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Cermati Protect Insurance API by Product Type",
    "version": "1.0.0",
    "description": "This Cermati Protect Insurance API Document for each product type",
    "termsOfService": "https://www.cermatiprotect.com/pages/terms-and-conditions",
    "contact": {
      "email": "dev.cermati@cermati.com"
    },
    "x-logo": {
      "url": "https://static.cermatiprotect.com/static/dist/images/logo/cermati-protect-white.png"
    }
  },
  "tags": [
    {
      "name": "Goods Insurance",
      "description": "Goods insurance covers consumer goods as insured objects for instance: gadget (movable all risk), bicycle, quality merchandise (fashion, appliance), product liability (effects from product usage)."
    }
  ],
  "servers": [
    {
      "url": "https://api-staging.cermatiprotect.com/insurance/v1"
    },
    {
      "url": "https://api.cermatiprotect.com/insurance/v1"
    }
  ],
  "paths": {
    "/goods/{trxId}/cancel": {
      "post": {
        "summary": "Cancel Application",
        "description": "Cancel the created application.",
        "deprecated": true,
        "tags": [
          "Goods Insurance"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "trxId",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The insurance transaction ID.",
            "example": "insurance-IN2331211"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/BaseCancel"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/ApplicationOperation"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "responses": {
      "ApplicationOperation": {
        "description": "",
        "content": {
          "application/json": {
            "schema": {
              "description": "",
              "type": "object",
              "properties": {
                "refNo": {
                  "type": "string",
                  "maxLength": 140,
                  "description": "Unique identifier from the partner, this must be unique per application."
                },
                "trxId": {
                  "type": "string",
                  "maxLength": 100,
                  "description": "The application transaction ID generated by Cermati Protect system."
                },
                "status": {
                  "$ref": "#/components/schemas/Status"
                },
                "documents": {
                  "type": "array",
                  "description": "List of the uploaded application documents",
                  "items": {
                    "type": "object",
                    "properties": {
                      "filename": {
                        "type": "string",
                        "description": "The name of the file"
                      },
                      "filetype": {
                        "type": "string",
                        "description": "The type of the file"
                      },
                      "type": {
                        "type": "string",
                        "description": "Type of the application document that is represented by this file"
                      }
                    }
                  }
                },
                "documentLinks": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentLink"
                  },
                  "description": "Download URL for uploaded application documents. The link will be available when the application is ISSUED status. This link will be generated and available for 24 hours from the last enquiry request. If the link expires, a partner is required to generate a new link to the document via enquire request."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp of the created application."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp of the updated application."
                },
                "expiredAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Expiration time of the created application."
                },
                "cancelledAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp of the cancelled application."
                }
              },
              "required": [
                "refNo",
                "trxId",
                "status",
                "createdAt"
              ]
            },
            "examples": {
              "Success": {
                "$ref": "#/components/examples/ApplicationOperationResponse"
              }
            }
          }
        }
      }
    },
    "requestBodies": {
      "BaseCancel": {
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "reason": {
                  "type": "string",
                  "maxLength": 140,
                  "description": "Reasons of cancellation, select one from the following reason for your request: \n- already have insurance\n- never applied\n- no longer interested\n- processed by others\n- not ready\n- decline referral\n- personal matter\n- price issue\n- payment issue \n- other (please specify)\n",
                  "example": "already have insurance"
                }
              },
              "required": [
                "reason"
              ]
            }
          }
        }
      }
    },
    "schemas": {
      "DocumentLink": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "Title of the link.",
            "maxLength": 200
          },
          "url": {
            "type": "string",
            "description": "LInk to documents.",
            "maxLength": 1000
          }
        }
      },
      "Status": {
        "type": "string",
        "maxLength": 20,
        "description": "Status of the application, refer to Insurance Application Status section.",
        "enum": [
          "ACTIVATED",
          "CANCELLED",
          "DATA_COMPLETE",
          "DATA_INCOMPLETE",
          "EXPIRED",
          "INVALID",
          "ISSUED",
          "REJECTED"
        ]
      }
    },
    "examples": {
      "ApplicationOperationResponse": {
        "value": {
          "refNo": "IN2331211",
          "trxId": "insurance-IN2331211",
          "status": "DATA_COMPLETE",
          "documents": [],
          "documentLinks": [],
          "createdAt": "2022-06-30T16:19:47.189+07:00",
          "updatedAt": "2022-06-30T16:19:47.189+07:00",
          "expiredAt": null,
          "cancelledAt": null
        }
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```