---
agentTools:
  projectIndex: https://developer-webetechies.readme.io/llms.txt
---

# Cancelation Complete

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Utility-Payment",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.pay2mobiles.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api-service/hotel/finalCancelation": {
      "post": {
        "summary": "Cancelation Complete",
        "description": "",
        "operationId": "cancelation-complete",
        "parameters": [
          {
            "name": "api_key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tokenId",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "bookingMode",
                  "changeRequestId",
                  "endUserIp"
                ],
                "properties": {
                  "bookingMode": {
                    "type": "string"
                  },
                  "changeRequestId": {
                    "type": "string"
                  },
                  "endUserIp": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"HotelChangeRequestStatusResult\": {\n        \"B2B2BStatus\": false,\n        \"CancellationChargeBreakUp\": {\n            \"CancellationFees\": 100.00,\n            \"CancellationServiceCharge\": 100.00\n        },\n        \"TotalServiceCharge\": 0.00,\n        \"ResponseStatus\": 1,\n        \"Error\": {\n            \"ErrorCode\": 0,\n            \"ErrorMessage\": \"\"\n        },\n        \"TraceId\": \"843c7490-dd96-44d5-861e-c0a04fc0bbfa\",\n        \"ChangeRequestId\": 304197,\n        \"RefundedAmount\": -205.00,\n        \"TotalPrice\": 12.60,\n        \"CancellationCharge\": 200.0000,\n        \"ChangeRequestStatus\": 3,\n        \"CreditNoteNo\": \"RM/2324/291\",\n        \"CreditNoteCreatedOn\": \"2024-02-22T19:03:30\",\n        \"TotalGSTAmount\": 18.00,\n        \"GST\": {\n            \"CGSTAmount\": 0.00,\n            \"CGSTRate\": 0.00,\n            \"CessAmount\": 0.00,\n            \"CessRate\": 0.00,\n            \"IGSTAmount\": 18.00,\n            \"IGSTRate\": 18.00,\n            \"SGSTAmount\": 0.00,\n            \"SGSTRate\": 0.00,\n            \"TaxableAmount\": 100.00\n        }\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "HotelChangeRequestStatusResult": {
                      "type": "object",
                      "properties": {
                        "B2B2BStatus": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "CancellationChargeBreakUp": {
                          "type": "object",
                          "properties": {
                            "CancellationFees": {
                              "type": "integer",
                              "example": 100,
                              "default": 0
                            },
                            "CancellationServiceCharge": {
                              "type": "integer",
                              "example": 100,
                              "default": 0
                            }
                          }
                        },
                        "TotalServiceCharge": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "ResponseStatus": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "Error": {
                          "type": "object",
                          "properties": {
                            "ErrorCode": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "ErrorMessage": {
                              "type": "string",
                              "example": ""
                            }
                          }
                        },
                        "TraceId": {
                          "type": "string",
                          "example": "843c7490-dd96-44d5-861e-c0a04fc0bbfa"
                        },
                        "ChangeRequestId": {
                          "type": "integer",
                          "example": 304197,
                          "default": 0
                        },
                        "RefundedAmount": {
                          "type": "integer",
                          "example": -205,
                          "default": 0
                        },
                        "TotalPrice": {
                          "type": "number",
                          "example": 12.6,
                          "default": 0
                        },
                        "CancellationCharge": {
                          "type": "integer",
                          "example": 200,
                          "default": 0
                        },
                        "ChangeRequestStatus": {
                          "type": "integer",
                          "example": 3,
                          "default": 0
                        },
                        "CreditNoteNo": {
                          "type": "string",
                          "example": "RM/2324/291"
                        },
                        "CreditNoteCreatedOn": {
                          "type": "string",
                          "example": "2024-02-22T19:03:30"
                        },
                        "TotalGSTAmount": {
                          "type": "integer",
                          "example": 18,
                          "default": 0
                        },
                        "GST": {
                          "type": "object",
                          "properties": {
                            "CGSTAmount": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "CGSTRate": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "CessAmount": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "CessRate": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "IGSTAmount": {
                              "type": "integer",
                              "example": 18,
                              "default": 0
                            },
                            "IGSTRate": {
                              "type": "integer",
                              "example": 18,
                              "default": 0
                            },
                            "SGSTAmount": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "SGSTRate": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "TaxableAmount": {
                              "type": "integer",
                              "example": 100,
                              "default": 0
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl --location 'http://localhost:8099/api-service/hotel/finalCancelation' \\\n--header 'api_key: 2xxxxxxxxxx6' \\\n--header 'tokenId: 5cfead6d-7e6f-4448-88a0-b78c8c210b2f' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"bookingMode\": 5,\n    \"changeRequestId\": 304197,\n    \"endUserIp\": \"223.190.84.195\"\n    \n}'"
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "65aa23aea2e9bc005a3efc03:660c012c4f691b0061d2c4ba"
}
```