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

MethodPathAuth
GET/v1/flights/order/cancellation/details/:gdsprovider/:cancelIdRequired API key
Required headers:
HeaderDescription
AuthorizationBearer <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-TypeUse application/json for requests with a body.

Request Params Schema

PropertyTypeDetailsRequiredNotes
gdsprovidernumberYesOnly gdsprovider "0" supports this flow
cancelIdstringYes-

Success Response

Returns cancellation amount, status and provider details.

Response Body Schema

PropertyTypeDetailsRequiredNotes
dataobjectYes-
refund_tostringYes-
refund_currencystringYes-
refund_amountstringYes-
order_idstringYes-
live_modebooleanYes-
idstringYes-
expires_atstringFormat: ISO 8601Yes-
created_atstringFormat: ISO 8601Yes-
confirmed_atstringFormat: ISO 8601Yes-
airline_creditsarrayYes-
passenger_idstringYes-
issued_onstringFormat: ISO 8601Yes-
idstringYes-
credit_namestringYes-
credit_currencystringYes-
credit_codestringYes-
credit_amountstringYes-

Operational Notes

This endpoint is currently provider-limited to gdsprovider "0" cancellation flows.