Refund
Dependency No preceding function needs to be carried out.
IntroductionThe Refund section includes a series of steps required for refunds, including requesting a refund quote, submitting the refund, and returning the refund status and results. This service supports the submission of requests for cancellation that require Atlas to process or for refunds that need to be executed by Atlas. It also allows a variety of cancellation and refund types, including voluntary, involuntary and void, etc.
Features
Refund reason: Voluntary, Involuntary, Void
Service Level: ◦ Our refund quotations fall into three scenarios: a. We can obtain an accurate quotation from the airline and will quote it directly to you; b. We cannot obtain an accurate quotation through the airline. You can still submit the refund request, then we will process the refund, but the refund amount will be based on the actual amount refunded by the airline; c. Unrefundable ◦ Our refund service includes the below steps, a. Atlas submits the refund request to the airline: We provide a service time guarantee; b. Airline processes the refund request and responds with the result, and airline executes the refund. The duration for 2 steps depends on the airline's processing speed, and we will provide an estimated reference time based on our experience in handling such cases.
Please note the below while initiating a refund transaction.
Refund of either inbound or outbound sector: The full ticket needs to be refunded. Only outbound OR inbound sector cannot be refunded. Please contact the airline for the same.
Refund for a partially used itinerary: Partially used itinerary cannot be refunded. Please contact the airline for the same.
Refund for a specific passenger: We support the refund of a specific passenger in an itinerary. For example, if there are 3 passengers and only one of them is to be refunded, please send us your refund request.
Apart from voluntary, involuntary and void, we currently do not support other types of refunds, such as medical or death refunds. Please contact customer service for manual assistance.
The customer is responsible to check whether the traveler has already made ancillary purchase in the transaction.
No email notifications will be sent for refunds rejected by Atlas.
Endpoint: https://sandbox.atriptech.com/refundQuotation.do
application/jsonapplication/jsongzipExample: gzip<YOUR_CLIENT_ID>Example: <YOUR_CLIENT_ID><YOUR_CLIENT_SECRET>Example: <YOUR_CLIENT_SECRET>Atlas original order number. You can choose to request either orderNo or both airlinePNR and carrier. If you use orderNo, the airlinePNR and carrier fields may be null.
The record locator of the airline. You can choose to request either orderNo or both airlinePNR and carrier. If you use airlinePNR and carrier, the orderNo field may be null.
2 character IATA airline code. you can choose to request either orderNo or both airlinePNR and carrier. If you use airlinePNR and carrier, the orderNo field may be null.
POST /refundQuotation.do HTTP/1.1
Host:
Accept: text
Content-Type: application/json
Accept-Encoding: gzip
x-atlas-client-id: <YOUR_CLIENT_ID>
x-atlas-client-secret: <YOUR_CLIENT_SECRET>
Content-Length: 419
{
"orderNo": "TESTA20250512100600259",
"airlinePNR": null,
"carrier": null,
"displayCurrency": "EUR",
"refundRequestList": [
{
"lastName": "ZHAO",
"firstName": "YIER",
"segments": [
{
"depDate": "20250513",
"flightNo": "U22437",
"depAirport": "LTN",
"arrAirport": "CDG"
}
],
"refundReason": "1"
},
{
"lastName": "QIAN",
"firstName": "ERER",
"segments": [
{
"depDate": "20250513",
"flightNo": "U22437",
"depAirport": "LTN",
"arrAirport": "CDG"
}
],
"refundReason": "1"
}
]
}{
"displayCurrency": "EUR",
"fastConfirmation": 0,
"expectedConfirmationDate": "20250522",
"expectedRefundDate": "20250701",
"refundQuoteType": "CannotQuote",
"refundOfferId": "q_b893711fcfae4e9d949e9965576bfd3a",
"refundMethod": "CashBackToOriginalPayment",
"isRefundable": false,
"refundTickets": [
{
"name": "QIAN/ERER",
"lastName": "QIAN",
"firstName": "ERER",
"ticketNo": "S87579"
},
{
"name": "ZHAO/YIER",
"lastName": "ZHAO",
"firstName": "YIER",
"ticketNo": "S87579"
}
],
"refundFareAmount": {
"currency": "USD",
"originalFareAmount": 165.48,
"estimatedRefundAmount": 0,
"displayOriginalFareAmount": 153.46,
"displayEstimatedRefundAmount": 0
},
"refundPostTicketingServiceAmounts": [],
"refundVouchers": null,
"serviceFee": {
"currency": "USD",
"transactionFee": 2,
"displayTransactionFee": 1.85
},
"refundRules": [
{
"airline": "U2",
"ruleType": "1",
"passengerType": null,
"penaltyAmount": null,
"penaltyPercent": null,
"penaltyPercentBase": null,
"airlineFee": null,
"taxRefundable": false,
"fareRefundable": false,
"refundableAncillaries": null,
"startMinute": 525600,
"endMinute": -525600,
"refundMethod": "CashBackToOriginalPayment"
}
],
"orderNo": "TESTA20250512100600259",
"status": 0,
"msg": null
}Dependency Refund quotation function should be called in prior of this call
Endpoint: https://sandbox.atriptech.com/refund.do
application/jsonapplication/jsongzipExample: gzip<YOUR_CLIENT_ID>Example: <YOUR_CLIENT_ID><YOUR_CLIENT_SECRET>Example: <YOUR_CLIENT_SECRET>Atlas original order number. You can choose to request either orderNo or both airlinePNR and carrier. If you use orderNo, the airlinePNR and carrier fields may be null.
The record locator of the airline. You can choose to request either orderNo or both airlinePNR and carrier. If you use airlinePNR and carrier, the orderNo field may be null.
2 character IATA airline code. you can choose to request either orderNo or both airlinePNR and carrier. If you use airlinePNR and carrier, the orderNo field may be null.
The alternative currency in which the fare and taxes amount needs to be displayed. The 3-letter currency code should be entered.
Get this from the refund quotation response. You can request with refundOfferId or refundRequestList. If you use refundRequestList, the field refundOfferId is null.
POST /refund.do HTTP/1.1
Host:
Accept: text
Content-Type: application/json
Accept-Encoding: gzip
x-atlas-client-id: <YOUR_CLIENT_ID>
x-atlas-client-secret: <YOUR_CLIENT_SECRET>
Content-Length: 171
{
"orderNo": "TESTA20240725164512131",
"airlinePNR": null,
"carrier": null,
"displayCurrency": "EUR",
"refundOfferId": "q_a86cd9c605c04f9cb3890ca3b037b254",
"refundRequestList": null
}{
"refundStatus": 0,
"refundCode": "202505-0012",
"cancelReason": "",
"refundReason": "0",
"displayCurrency": "EUR",
"fastConfirmation": null,
"expectedConfirmationDate": "20250522",
"expectedRefundDate": "20250701",
"refundQuoteType": "CannotQuote",
"refundOfferId": "q_a86cd9c605c04f9cb3890ca3b037b254",
"refundMethod": "CashBackToOriginalPayment",
"isRefundable": true,
"refundTickets": [
{
"lastName": "ZHAO",
"firstName": "YIER",
"ticketNo": "S87579"
},
{
"lastName": "QIAN",
"firstName": "ERER",
"ticketNo": "S87579"
}
],
"refundFareAmount": {
"currency": "USD",
"originalFareAmount": 165.48,
"estimatedRefundAmount": 165.48,
"displayOriginalFareAmount": 153.46,
"displayEstimatedRefundAmount": 153.46
},
"refundPostTicketingServiceAmounts": [],
"refundVouchers": null,
"serviceFee": {
"currency": "USD",
"transactionFee": 3,
"displayTransactionFee": 2.78
},
"refundRules": [
{
"airline": "U2",
"ruleType": "0",
"passengerType": null,
"penaltyAmount": "0.00 USD",
"penaltyPercent": 0,
"penaltyPercentBase": "fare+tax",
"airlineFee": "0.00 USD",
"taxRefundable": true,
"fareRefundable": true,
"refundableAncillaries": [
"ALL"
],
"startMinute": 525600,
"endMinute": -525600,
"refundMethod": "CashBackToOriginalPayment"
}
],
"orderNo": "TESTA20250512100600259",
"status": 0,
"msg": null
}Dependency No preceding function needs to be carried out.
Endpoint: https://sandbox.atriptech.com/queryRefundOrders.do
application/jsonapplication/jsongzipExample: gzip<YOUR_CLIENT_ID>Example: <YOUR_CLIENT_ID><YOUR_CLIENT_SECRET>Example: <YOUR_CLIENT_SECRET>The code of the refund transaction received in the refund.do response.
Atlas original order number. You can choose to request either orderNo or both airlinePNR and carrier. If you use orderNo, the airlinePNR and carrier fields may be null.
The record locator of the airline. You can choose to request either orderNo or both airlinePNR and carrier. If you use airlinePNR and carrier, the orderNo field may be null.
2 character IATA airline code. you can choose to request either orderNo or both airlinePNR and carrier. If you use airlinePNR and carrier, the orderNo field may be null.
The alternative currency in which the fare and taxes amount needs to be displayed. The 3-letter currency code should be entered.
POST /queryRefundOrders.do HTTP/1.1
Host:
Accept: text
Content-Type: application/json
Accept-Encoding: gzip
x-atlas-client-id: <YOUR_CLIENT_ID>
x-atlas-client-secret: <YOUR_CLIENT_SECRET>
Content-Length: 120
{
"refundCode": "202505-0013",
"orderNo": "TESTA20250512100600259",
"airlinePNR": null,
"carrier": null,
"displayCurrency": "EUR"
}{
"refundOrders": [
{
"orderNo": "TESTA20250512100600259",
"refundCode": "202505-0013",
"displayCurrency": "EUR",
"expectedConfirmationDate": null,
"expectedRefundDate": null,
"refundQuoteType": "CannotQuote",
"refundTickets": [
{
"lastName": "ZHAO",
"firstName": "YIER",
"ticketNo": "S87579"
},
{
"lastName": "QIAN",
"firstName": "ERER",
"ticketNo": "S87579"
}
],
"refundFareAmount": {
"currency": "USD",
"originalFareAmount": 165.48,
"estimatedRefundAmount": 165.48,
"displayOriginalFareAmount": 153.46,
"displayEstimatedRefundAmount": 153.46
},
"refundPostTicketingServiceAmounts": [],
"refundVouchers": null,
"serviceFee": {
"currency": "USD",
"transactionFee": 3,
"displayTransactionFee": 2.78
},
"refundRules": [],
"refundStatus": 4,
"cancelReason": "hahaha11111",
"refundOfferId": "q_6f99d2a1ffc74486be67a98772fa159d",
"refundMethod": "CashBackToOriginalPayment"
}
],
"status": 0,
"msg": null
}Last updated

