GET/v1/flights/order/cancellation/details/:gdsprovider/:cancelId
Get flight cancellation details
Returns the status, conditions and refund context for a pending or completed flight cancellation.
Returns the status, conditions and refund context for a pending or completed flight cancellation.
Endpoint
| Method | Path | Auth |
|---|---|---|
GET | /v1/flights/order/cancellation/details/:gdsprovider/:cancelId | Required API key |
| Header | Description |
|---|---|
Authorization | Bearer <secret_key>. The secret is shown only once when the credential is created. |
X-Travelandz-Id | <public_key>:<profile_code>. The profile_code is the dp_-prefixed Developer Profile code shown in your dashboard. This binds the request to a profile and credential. |
Content-Type | Use application/json for requests with a body. |
Request Params Schema
| Property | Type | Details | Required | Notes |
|---|---|---|---|---|
gdsprovider | number | Yes | Only gdsprovider "0" supports this flow | |
cancelId | string | Yes | - |
Success Response
Returns cancellation amount, status and provider details.
Response Body Schema
| Property | Type | Details | Required | Notes |
|---|---|---|---|---|
data | object | Yes | - | |
refund_to | string | Yes | - | |
refund_currency | string | Yes | - | |
refund_amount | string | Yes | - | |
order_id | string | Yes | - | |
live_mode | boolean | Yes | - | |
id | string | Yes | - | |
expires_at | string | Format: ISO 8601 | Yes | - |
created_at | string | Format: ISO 8601 | Yes | - |
confirmed_at | string | Format: ISO 8601 | Yes | - |
airline_credits | array | Yes | - | |
passenger_id | string | Yes | - | |
issued_on | string | Format: ISO 8601 | Yes | - |
id | string | Yes | - | |
credit_name | string | Yes | - | |
credit_currency | string | Yes | - | |
credit_code | string | Yes | - | |
credit_amount | string | Yes | - | |
Operational Notes
This endpoint is currently provider-limited to gdsprovider "0" cancellation flows.