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

# Enquire Detail

Get the detail of a specific transportation insurance 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": "Transportation Insurance",
      "description": "Transportation insurance covers flight, train, delay and or cancellation of a transportation."
    }
  ],
  "servers": [
    {
      "url": "https://api-staging.cermatiprotect.com/insurance/v1"
    },
    {
      "url": "https://api.cermatiprotect.com/insurance/v1"
    }
  ],
  "paths": {
    "/transportation/{trxId}": {
      "get": {
        "summary": "Enquire Detail",
        "description": "Get the detail of a specific transportation insurance application.",
        "tags": [
          "Transportation Insurance"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "trxId",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The insurance transaction ID.",
            "example": "insurance-IN2331211"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/TransportationEnquire"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "responses": {
      "TransportationEnquire": {
        "description": "",
        "content": {
          "application/json": {
            "schema": {
              "description": "",
              "type": "object",
              "properties": {
                "productId": {
                  "type": "string",
                  "maxLength": 100,
                  "description": "Partnership Product Id given to partner."
                },
                "refNo": {
                  "type": "string",
                  "maxLength": 140,
                  "description": "Unique identifier from the partner, this must be unique per application."
                },
                "trxId": {
                  "type": "string",
                  "maxLength": 100,
                  "description": "Application transaction id."
                },
                "premium": {
                  "type": "number",
                  "minimum": 0,
                  "description": "Amount of insurance premium paid in IDR."
                },
                "adminFee": {
                  "type": "number",
                  "minimum": 0,
                  "description": "Amount of admin fee paid in IDR."
                },
                "coverageStart": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Date time indicating insurance coverage started."
                },
                "coverageEnd": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Date time indicating insurance coverage ended."
                },
                "overrideNotificationUrl": {
                  "$ref": "#/components/schemas/OverrideNotificationUrlForTransportationResponse"
                },
                "status": {
                  "type": "string",
                  "maxLength": 20,
                  "description": "Status of the application, refer to Insurance Application Status section."
                },
                "documentLinks": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentLink"
                  },
                  "description": "Download URL for any uploaded documents related to this application. 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."
                },
                "policyNumber": {
                  "type": "string",
                  "maxLength": 100,
                  "description": "Policy number that can be used for claim"
                },
                "policyLinks": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentLink"
                  },
                  "description": "Download URL for insurance policy or cover notes file. 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."
                },
                "policyWordingLinks": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentLink"
                  },
                  "description": "Download URL for policy wording notes file. The link will be available when the application is ISSUED status. Some insurance type may not have policy wording."
                },
                "purchasedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Date time indicating order purchased."
                },
                "name": {
                  "type": "string",
                  "maxLength": 100,
                  "description": "Full name of the contact order."
                },
                "email": {
                  "type": "string",
                  "maxLength": 100,
                  "description": "Email address of the contact order."
                },
                "phoneNo": {
                  "type": "string",
                  "maxLength": 20,
                  "description": "Phone Number of the contact order, format +[countryCode][phoneNo] e.g. +62817654321."
                },
                "orderId": {
                  "type": "string",
                  "maxLength": 100,
                  "description": "Ticket ID or itinerary ID."
                },
                "passengers": {
                  "type": "array",
                  "description": "Passengers under the same order ID.",
                  "items": {
                    "$ref": "#/components/schemas/Passenger"
                  }
                },
                "trips": {
                  "description": "List of trips included under the same order ID.",
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Trip"
                  }
                },
                "tripType": {
                  "type": "string",
                  "maxLength": 20,
                  "description": "Type of the trip: \n  - One-way, \n  - Round-trip, \n  - Multiple stops, \n  - Smart trip\n  - Other, please specify \n"
                },
                "origin": {
                  "$ref": "#/components/schemas/OriginLocation"
                },
                "destination": {
                  "$ref": "#/components/schemas/DestinationLocation"
                },
                "totalPrice": {
                  "type": "number",
                  "minimum": 0,
                  "description": "Total price paid after discount for all passengers, trips, add-ons, and taxes (exclude premium) in IDR, amount >= 0."
                },
                "totalDiscount": {
                  "type": "number",
                  "minimum": 0,
                  "description": "Total discount in IDR, amount >= 0."
                },
                "additionalParameters": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Extra parameters applicable to the product. The expected fields depend on the product ID."
                },
                "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": [
                "productId",
                "refNo",
                "trxId",
                "name",
                "email",
                "phoneNo",
                "orderId",
                "passengers",
                "trips",
                "tripType",
                "origin",
                "destination",
                "totalPrice",
                "totalDiscount",
                "status",
                "coverageStart",
                "coverageEnd",
                "createdAt"
              ]
            },
            "examples": {
              "Success": {
                "$ref": "#/components/examples/TransportationEnquireResponse"
              }
            }
          }
        }
      }
    },
    "schemas": {
      "DocumentLink": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "Title of the link.",
            "maxLength": 200
          },
          "url": {
            "type": "string",
            "description": "LInk to documents.",
            "maxLength": 1000
          }
        }
      },
      "Passenger": {
        "type": "object",
        "description": "Passengers under the same order ID.",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100,
            "description": "Full name of the passenger.",
            "example": "Cermat Indra Kusuma"
          },
          "title": {
            "type": "string",
            "enum": [
              "MR",
              "MS",
              "MRS"
            ],
            "description": "Salutation: MR, MS, MRS.",
            "example": "MR"
          },
          "category": {
            "type": "string",
            "enum": [
              "ADULT",
              "CHILD",
              "INFANT"
            ],
            "description": "Person category options are: ADULT (age 12+ years), CHILD (age 2-12 years), INFANT (age 0-2 years).",
            "example": "ADULT"
          },
          "email": {
            "type": "string",
            "maxLength": 100,
            "description": "Email address of the passenger.",
            "example": "kusuma.indra@cermatiprotect.com"
          },
          "phoneNo": {
            "type": "string",
            "maxLength": 20,
            "description": "Phone Number of the passenger, format +[countryCode][phoneNo] e.g. +62817654321.",
            "example": "+628888123123"
          },
          "placeOfBirth": {
            "type": "string",
            "maxLength": 100,
            "description": "Birthplace of the passenger.",
            "example": "Jakarta"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date",
            "description": "Birth date of the passenger.",
            "example": "1993-05-12"
          },
          "identityNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Passenger identity number.",
            "example": "3216541205910001"
          },
          "identityType": {
            "type": "string",
            "enum": [
              "KTP",
              "SIM",
              "PASSPORT"
            ],
            "description": "Passenger identity type.",
            "example": "KTP"
          },
          "identityCountry": {
            "type": "string",
            "maxLength": 2,
            "description": "Country that issued identity, 2 letter country ISO code.",
            "example": "ID"
          },
          "nationality": {
            "type": "string",
            "maxLength": 2,
            "description": "Country nationality of the passenger, 2 letter country ISO code.",
            "example": "ID"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "example": "handicapped"
            },
            "description": "Passenger tag e.g. handicapped."
          }
        },
        "required": [
          "name",
          "category",
          "email",
          "phoneNo",
          "dateOfBirth",
          "identityNumber"
        ]
      },
      "Trip": {
        "type": "object",
        "description": "List of trips included under the same order ID.",
        "properties": {
          "tripId": {
            "type": "string",
            "maxLength": 200,
            "description": "Unique identifier associated with the trip. Accepts alphanumeric without special characters.",
            "example": "T41948"
          },
          "tripType": {
            "type": "string",
            "enum": [
              "BUS",
              "FLIGHT",
              "SHIP",
              "TRAIN"
            ],
            "description": "Type of trip.",
            "example": "FLIGHT"
          },
          "tripLegs": {
            "type": "array",
            "description": "Trip legs taken for within a trip.",
            "items": {
              "$ref": "#/components/schemas/TripLeg"
            }
          },
          "ticketPrice": {
            "$ref": "#/components/schemas/PriceCategory"
          },
          "ticketRefundableAmount": {
            "$ref": "#/components/schemas/RefundableCategory"
          },
          "addOns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Addon"
            }
          }
        },
        "required": [
          "tripId",
          "tripType",
          "tripLegs",
          "ticketPrice",
          "ticketRefundableAmount"
        ]
      },
      "TripLeg": {
        "type": "object",
        "description": "Trip legs taken for within a trip.",
        "properties": {
          "tripNo": {
            "type": "string",
            "maxLength": 100,
            "description": "Trip Number can be mapped into Flight Number, Train Number.",
            "example": "GA404"
          },
          "tripName": {
            "type": "string",
            "maxLength": 140,
            "description": "Trip name associated with train name e.g. Taksaka Luxury, Argo Parahyangan.",
            "example": "Garuda Indonesia GA 404"
          },
          "class": {
            "type": "string",
            "maxLength": 50,
            "description": "Cabin class e.g. Economy, Business, Executive, First class.",
            "example": "Economy"
          },
          "subclass": {
            "type": "string",
            "maxLength": 50,
            "description": "Cabin subclass e.g. if the class is \"Economy (CA)\", fill this field with CA.",
            "example": "M"
          },
          "origin": {
            "$ref": "#/components/schemas/OriginLocation"
          },
          "destination": {
            "$ref": "#/components/schemas/DestinationLocation"
          },
          "departureTime": {
            "type": "string",
            "format": "date-time",
            "description": "Trip departure time (ISO 8601 format with timezone).",
            "example": "2021-05-09T02:25:04.962+07:00"
          },
          "arrivalTime": {
            "type": "string",
            "format": "date-time",
            "description": "Trip arrival time (ISO 8601 format with timezone).",
            "example": "2021-05-09T05:20:04.962+07:00"
          }
        },
        "required": [
          "tripNo",
          "tripName",
          "class",
          "origin",
          "destination",
          "departureTime",
          "arrivalTime"
        ]
      },
      "Addon": {
        "type": "object",
        "description": "Add-on purchased along with the trip ticket.",
        "properties": {
          "addonId": {
            "type": "string",
            "maxLength": 100,
            "description": "Unique identifier associated with add-on.",
            "example": "8388682a-0627-11ec-9a03-0242ac130003"
          },
          "addonName": {
            "type": "string",
            "maxLength": 140,
            "description": "Name of the add-on.",
            "example": "Meal"
          },
          "price": {
            "type": "number",
            "minimum": 0,
            "description": "Price of the add-on in IDR.",
            "example": 75000
          }
        },
        "required": [
          "addonId",
          "addonName",
          "price"
        ]
      },
      "PriceCategory": {
        "type": "object",
        "description": "Ticket price after tax, excluding add-on for each passenger and each category.",
        "properties": {
          "adult": {
            "type": "number",
            "minimum": 0,
            "description": "Adult price amount in IDR, amount >=0.",
            "example": 1709100
          },
          "child": {
            "type": "number",
            "minimum": 0,
            "description": "Child price amount in IDR, amount >=0.",
            "example": 854550
          },
          "infant": {
            "type": "number",
            "minimum": 0,
            "description": "Infant price amount in IDR, amount >=0.",
            "example": 854550
          }
        },
        "required": [
          "adult",
          "child",
          "infant"
        ]
      },
      "RefundableCategory": {
        "type": "object",
        "description": "Refundable amount of the ticket for each passenger and each category in IDR.",
        "properties": {
          "adult": {
            "type": "number",
            "minimum": 0,
            "description": "Adult price amount in IDR, amount >=0.",
            "example": 1009000
          },
          "child": {
            "type": "number",
            "minimum": 0,
            "description": "Child price amount in IDR, amount >=0.",
            "example": 504500
          },
          "infant": {
            "type": "number",
            "minimum": 0,
            "description": "Infant price amount in IDR, amount >=0.",
            "example": 504500
          }
        },
        "required": [
          "adult",
          "child",
          "infant"
        ]
      },
      "OriginLocation": {
        "type": "object",
        "description": "Location origin.",
        "properties": {
          "locationCode": {
            "type": "string",
            "maxLength": 5,
            "description": "Can follow standard IATA airport code for flight, or station code for train.",
            "example": "CGK"
          },
          "locationType": {
            "type": "string",
            "enum": [
              "AIRPORT",
              "STATION",
              "PORT",
              "TERMINAL",
              "AGENT",
              "SHELTER"
            ],
            "description": "Indicating the location type options.",
            "example": "AIRPORT"
          },
          "locationName": {
            "type": "string",
            "maxLength": 140,
            "description": "Name of the location.",
            "example": "Soekarno Hatta"
          }
        },
        "required": [
          "locationCode",
          "locationType",
          "locationName"
        ]
      },
      "DestinationLocation": {
        "type": "object",
        "description": "Location destination.",
        "properties": {
          "locationCode": {
            "type": "string",
            "maxLength": 5,
            "description": "Can follow standard IATA airport code for flight, or station code for train.",
            "example": "DPS"
          },
          "locationType": {
            "type": "string",
            "enum": [
              "AIRPORT",
              "STATION",
              "PORT",
              "TERMINAL",
              "AGENT",
              "SHELTER"
            ],
            "description": "Indicating the location type options.",
            "example": "AIRPORT"
          },
          "locationName": {
            "type": "string",
            "maxLength": 140,
            "description": "Name of the location.",
            "example": "Ngurah Rai"
          }
        },
        "required": [
          "locationCode",
          "locationType",
          "locationName"
        ]
      },
      "OverrideNotificationUrlForTransportationResponse": {
        "type": "object",
        "description": "Override Notification URL.",
        "properties": {
          "applicationEvent": {
            "type": "string",
            "description": "Override URL for Application Event notifications.",
            "example": "URL"
          },
          "claimEvent": {
            "type": "string",
            "description": "Override URL for Claim Event notifications.",
            "example": "URL"
          },
          "flightDelay": {
            "type": "string",
            "description": "Override URL for Flight Delay notifications.",
            "example": "URL"
          }
        }
      }
    },
    "examples": {
      "TransportationEnquireResponse": {
        "value": {
          "productId": "insurance-1",
          "refNo": "IN2331211",
          "trxId": "insurance-IN2331211",
          "premium": 150000,
          "adminFee": 2500,
          "name": "Cermat Indra Kusuma",
          "email": "kusuma.indra@cermatiprotect.com",
          "phoneNo": "+628888123123",
          "orderId": "A1106000155",
          "purchasedAt": "2021-05-06T01:32:35.003+07:00",
          "passengers": [
            {
              "name": "Cermat Indra Kusuma",
              "title": "MR",
              "category": "ADULT",
              "email": "kusuma.indra@cermatiprotect.com",
              "phoneNo": "+628888123123",
              "placeOfBirth": "Jakarta",
              "dateOfBirth": "1993-05-12",
              "identityNumber": "3216541205910001",
              "identityType": "KTP",
              "identityCountry": "ID",
              "nationality": "ID",
              "tags": []
            }
          ],
          "trips": [
            {
              "tripId": "T41948",
              "tripType": "FLIGHT",
              "tripLegs": [
                {
                  "tripNo": "GA404",
                  "tripName": "Garuda Indonesia GA 404",
                  "class": "Economy",
                  "subclass": "M",
                  "origin": {
                    "locationCode": "CGK",
                    "locationType": "AIRPORT",
                    "locationName": "Soekarno Hatta"
                  },
                  "destination": {
                    "locationCode": "DPS",
                    "locationType": "AIRPORT",
                    "locationName": "Ngurah Rai"
                  },
                  "departureTime": "2021-05-09T02:25:04.962+07:00",
                  "arrivalTime": "2021-05-09T05:20:04.962+07:00"
                }
              ],
              "ticketPrice": {
                "adult": 1709100,
                "child": 854550,
                "infant": 854550
              },
              "ticketRefundableAmount": {
                "adult": 1009000,
                "child": 504500,
                "infant": 504500
              },
              "addOns": [
                {
                  "addonId": "8388682a-0627-11ec-9a03-0242ac130003",
                  "addonName": "Meal",
                  "price": 75000
                }
              ]
            }
          ],
          "tripType": "One-way",
          "origin": {
            "locationCode": "CGK",
            "locationType": "AIRPORT",
            "locationName": "Soekarno Hatta"
          },
          "destination": {
            "locationCode": "DPS",
            "locationType": "AIRPORT",
            "locationName": "Ngurah Rai"
          },
          "totalPrice": 1709100,
          "totalDiscount": 0,
          "policyLinks": [
            {
              "title": "Policy",
              "url": "https://link.to.document.pdf"
            }
          ],
          "policyWordingLinks": [
            {
              "title": "Policy Summary",
              "url": "https://link.to.document.pdf"
            }
          ],
          "overrideNotificationUrl": {
            "applicationEvent": "https://link.to.application.event.webhook",
            "claimEvent": "https://link.to.claim.event.webhook",
            "flightDelay": "https://link.to.flight.delay.webhook"
          },
          "status": "ISSUED",
          "coverageStart": "2021-05-09T02:25:04.962+07:00",
          "coverageEnd": "2021-05-09T05:20:04.962+07:00",
          "additionalParameters": {
            "membershipLevel": "Platinum",
            "extraRewardsEarned": 50
          },
          "createdAt": "2021-05-06T07:32:35.003+07:00",
          "updatedAt": "2021-05-06T07:32:35.003+07:00",
          "expiredAt": "2021-05-07T07:32:35.003+07:00",
          "cancelledAt": "2021-05-07T07:32:35.003+07:00"
        }
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```