HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
order_cancellation
A confirmed order cancellation with refund details
Fields
idUnique cancellation identifier
ocn_xyz789order_idThe order that was cancelled
ord_abc123statusconfirmedpending · Example confirmedrefundPrice information for an offer.
Show fields
currencyISO 4217 currency code
^[A-Z]{3}$ · Example USDbase_amountThe base fare amount before taxes as a decimal string.
120.00total_amountThe total amount as a decimal string (base_amount + taxes_and_fees).
150.00taxes_and_fees_amountThe total amount of taxes and fees as a decimal string.
30.00taxes_and_feesItemized taxes and fees breakdown.
Show fields
codeCharge code identifier (e.g., IATA tax/fee codes)
YQamountCharge amount as a decimal string
15.00penaltyPrice information for an offer.
Show fields
currencyISO 4217 currency code
^[A-Z]{3}$ · Example USDbase_amountThe base fare amount before taxes as a decimal string.
120.00total_amountThe total amount as a decimal string (base_amount + taxes_and_fees).
150.00taxes_and_fees_amountThe total amount of taxes and fees as a decimal string.
30.00taxes_and_feesItemized taxes and fees breakdown.
Show fields
codeCharge code identifier (e.g., IATA tax/fee codes)
YQamountCharge amount as a decimal string
15.00refund_methodHow the refund will be issued to the customer.
original_form_of_payment: Refund to the original payment method.voucher: Airline-issued travel voucher or future travel credit.
original_form_of_paymentvoucher · Example original_form_of_paymentUsed by
{
"id": "ocn_xyz789",
"order_id": "ord_abc123",
"status": "confirmed",
"refund": {
"currency": "USD",
"base_amount": "120.00",
"total_amount": "150.00",
"taxes_and_fees_amount": "30.00",
"taxes_and_fees": [
{
"code": "YQ",
"amount": "15.00"
}
]
},
"refund_method": "original_form_of_payment",
"penalty": {
"currency": "USD",
"base_amount": "120.00",
"total_amount": "150.00",
"taxes_and_fees_amount": "30.00",
"taxes_and_fees": [
{
"code": "YQ",
"amount": "15.00"
}
]
}
}