{
"adults": 1,
"children": 1,
"infants": 1,
"inboundSegments": [
{
"departureAirport": "LON",
"arrivalAirport": "PAR",
"carrier": "U2",
"flightNumber": "673",
"departureDate": "20250301"
}
],
"outboundSegments": null
}
curl --location --request POST 'https://sandbox.atriptech.com/getOffers.do' \
--header 'Accept: application/json' \
--header 'Accept;' \
--header 'Accept-Encoding: gzip' \
--header 'Accept-Encoding;' \
--header 'x-atlas-client-id;' \
--header 'x-atlas-client-id;' \
--header 'x-atlas-client-secret;' \
--header 'x-atlas-client-secret;' \
--header 'Content-Type: application/json' \
--data-raw '{
"adults": 1,
"children": 1,
"infants": 1,
"inboundSegments": [
{
"departureAirport": "LON",
"arrivalAirport": "PAR",
"carrier": "U2",
"flightNumber": "673",
"departureDate": "20250301"
}
],
"outboundSegments": null
}'
null
or[]
indicates that no payment methods are available.{
"status": 0,
"msg": "string",
"data": [
{
"offer": {
"offerID": "o_b07c7d690aea44889eca1f22ad90841c_1",
"offerToken": "string",
"paxFares": [
{
"paxType": "ADT",
"price": {
"baseAmount": 100,
"taxes": 0,
"currency": "USD"
}
}
],
"penalties": [
{
"journeyRefIDs": [
"string"
],
"amount": 0,
"currency": "USD",
"rule": {
"type": "Refund",
"paxTypes": [
"ADT"
],
"levelType": "Full",
"effectiveMinutes": 0,
"expirationMinutes": 0,
"fixedAmount": 0,
"airlineFee": 0,
"currency": "USD",
"percent": 0.2,
"percentBase": "fare+tax"
}
}
],
"services": [
{
"serviceID": "string",
"segmentRefIDs": [
"string"
],
"type": "Baggage",
"level": "Free",
"paxTypes": [
"ADT"
],
"metadata": {
"type": "StandardCheckInBaggage",
"maximumWeight": 20,
"maximumPiece": 1,
"maximumDimension": "L+W+H<=158cm"
}
}
],
"outboundJourney": {
"journeyID": "string",
"segments": [
{
"segmentID": "string",
"carrier": "string",
"flightNumber": "string",
"operatingCarrier": "string",
"operatingFlightNumber": "string",
"duration": 0,
"legs": [
{
"departureAirport": "string",
"departureTime": "202503011100",
"departureTerminal": "string",
"arrivalAirport": "string",
"arrivalTime": "string",
"arrivalTerminal": "string",
"aircraftType": "string"
}
],
"fareFamily": "string",
"RBD": "string",
"cabinClass": "Economy",
"seatsLeft": 0
}
]
},
"inboundJourney": {
"journeyID": "string",
"segments": [
{
"segmentID": "string",
"carrier": "string",
"flightNumber": "string",
"operatingCarrier": "string",
"operatingFlightNumber": "string",
"duration": 0,
"legs": [
{
"departureAirport": "string",
"departureTime": "202503011100",
"departureTerminal": "string",
"arrivalAirport": "string",
"arrivalTime": "string",
"arrivalTerminal": "string",
"aircraftType": "string"
}
],
"fareFamily": "string",
"RBD": "string",
"cabinClass": "Economy",
"seatsLeft": 0
}
]
},
"terms": [
{
"carrier": "string",
"URL": "string"
}
]
},
"serviceFee": {
"amountPerUnit": 0,
"unit": "PER_SEGMENT",
"currency": "USD"
},
"bookingRequirement": {
"passenger": {
"name": {
"type": "string",
"required": true,
"description": "string",
"maxLength": "string"
},
"passengerType": {
"type": "string",
"required": true,
"description": "string",
"maxLength": "string"
},
"birthday": {
"type": "string",
"required": true,
"description": "string",
"maxLength": "string"
},
"gender": {
"type": "string",
"required": true,
"description": "string",
"maxLength": "string"
},
"nationality": {
"type": "string",
"required": true,
"description": "string",
"maxLength": "string"
},
"cardType": {
"type": "string",
"required": true,
"description": "string",
"maxLength": "string"
},
"cardNum": {
"type": "string",
"required": true,
"description": "string",
"maxLength": "string"
},
"cardIssuePlace": {
"type": "string",
"required": true,
"description": "string",
"maxLength": "string"
},
"cardExpired": {
"type": "string",
"required": true,
"description": "string",
"maxLength": "string"
}
}
},
"supportedPaymentMethods": [
"Deposit"
]
}
]
}