Properties
| Name | Type | Description |
|---|---|---|
| booking_ref | string | JNK-A0AUR2 |
| booking_reference | string | Deprecated: use `booking_ref` instead. Same value. |
| confirmation_number | string | Deprecated: read the item’s `supplier_references` on POST /v1/get_booking, which names who issued each reference. Customer-facing hotel confirmation number, when supplied by the hotel. |
| status | string | cancelled |
| operation | string | The cancellation this call started ("svc_…"). Cancelling the booking at the supplier and returning the money are separate steps, so this call answering does not mean both finished — poll the handle wi |
| state | string | ServicingState enum. |
| refund_amount | object | Customer figure: what goes back to the payment method that paid for this booking — what the customer paid for it, less `penalty_amount`. Absent when no refund was scheduled. |
| customer_refund_amount | object | Deprecated alias of `refund_amount`. |
| penalty_amount | object | The cancellation penalty withheld from the customer. |
| cancelled_at | string | Timestamp of cancellation. |
| idempotent | boolean | Whether the request was idempotent. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/gojinko-com/json-schema/gojinko-com-post-v1-hotel-cancel-response-schema.json",
"title": "PostV1HotelCancelResponse",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_ae-authored/gojinko-com-openapi-generated.yml#/components/schemas/PostV1HotelCancelResponse",
"type": "object",
"properties": {
"booking_ref": {
"type": "string",
"description": "JNK-A0AUR2"
},
"booking_reference": {
"type": "string",
"description": "Deprecated: use `booking_ref` instead. Same value."
},
"confirmation_number": {
"type": "string",
"description": "Deprecated: read the item’s `supplier_references` on POST /v1/get_booking, which names who issued each reference. Customer-facing hotel confirmation number, when supplied by the hotel."
},
"status": {
"type": "string",
"description": "cancelled"
},
"operation": {
"type": "string",
"description": "The cancellation this call started (\"svc_…\"). Cancelling the booking at the supplier and returning the money are separate steps, so this call answering does not mean both finished — poll the handle with POST /v1/hotel_cancel_status until `state` is terminal."
},
"state": {
"type": "string",
"description": "ServicingState enum."
},
"refund_amount": {
"type": "object",
"description": "Customer figure: what goes back to the payment method that paid for this booking — what the customer paid for it, less `penalty_amount`. Absent when no refund was scheduled."
},
"customer_refund_amount": {
"type": "object",
"description": "Deprecated alias of `refund_amount`."
},
"penalty_amount": {
"type": "object",
"description": "The cancellation penalty withheld from the customer."
},
"cancelled_at": {
"type": "string",
"description": "Timestamp of cancellation."
},
"idempotent": {
"type": "boolean",
"description": "Whether the request was idempotent."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/gojinko-com-post-v1-hotel-cancel-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.