VegasLounge API 对接文档
  1. Flight Booking
VegasLounge API 对接文档
  • Shopping
    • Return list of Flight Offers based on posted searching criteria.
      POST
    • Return list of Flight Offers based on searching criteria.
      GET
  • Authorization
    • Access Granted Client Credentials
      POST
    • Get Token Information
      GET
  • Flights
    • (Scenario)Basic Flight Booking flow
      • Step 0: Authorization
      • Step 1: Flight Offers Search GET
      • Step 2: Flight Offers Price
      • Step 3: Flight Create Orders
    • Flight Booking
      • Flight Offers Search
        GET
      • Flight Offers Search
        POST
      • Flight Offers Price
        POST
      • Flight Create Orders
        POST
      • Flight Order Management
        GET
      • Flight Order Management
        DELETE
      • Seatmap Display
        GET
      • Seatmap Display
        POST
      • Branded Fares Upsell
        POST
      • Flight Price Analysis
        GET
      • Flight Choice Prediction
        POST
    • Flight Inspiration
      • Flight Inspiration Search
      • Flight Cheapest Date Search
      • Flight Availabilities Search
      • Travel Recommendations
    • Flight Schedule
      • On Demand Flight Status
      • Flight Delay Prediction
      • Airport On-Time Performance
    • Airport
      • Airport & City Search by Keyword
      • Airport & City Search by Id
      • Airport Nearest Relevant
      • Airport Routes
    • Airlines
      • Flight Check-in Links
      • Airline Code Lookup
      • Airline Routes
  • Destination experiences
    • Tours and Activities
      GET
    • Tours and Activities by Id
      GET
    • Tours and Activities by square
      GET
    • City Search
      GET
  • Car and Transfers
    • Transfer Search
    • Transfer Booking
    • Transfer Management
  • Market insights
    • Flight Most Traveled Destinations
    • Flight Most Booked Destinations
    • Flight Busiest Traveling Period
  • Hotels
    • (Scenario)Basic Hotel Booking flow
      • Step 0: Authorization
      • Step 1: Find Hotels by city
      • Step 2: Hotel Offers Search
      • Step 3: Hotel Booking v1
    • Hotel List by Id
    • Hotel List by Geocode
    • Hotel List by City
    • Hotel Search
    • Hotel Search Offer Information
    • Hotel Booking v1
    • Hotel Booking v2
    • Hotel Ratings
    • Hotel Name Autocomplete
  • Itinerary management
    • Trip Purpose Prediction
  • STARGAME
    • Common errors
      • InitialGetBalance
      • InitialGetBalance
      • GetBalanceBadHash
      • GetBalanceBadHash
      • InvalidCommand
      • InvalidCommand
      • InvalidUserName
      • InvalidUserName
      • PlayerBetMissingTransactionId
      • PlayerBetMissingTransactionId
      • PlayerWinEmptyTransactionId
      • PlayerWinEmptyTransactionId
      • PlayerBetNegativeAmount
      • PlayerBetNegativeAmount
      • PlayerWinNegativeAmount
      • PlayerWinNegativeAmount
      • PlayerBetInsufficientBalance
      • PlayerBetInsufficientBalance
      • CheckBalance
      • CheckBalance
    • Workflow
      • OpenSession
      • OpenSession
      • OpenSessionAlreadyOpened
      • OpenSessionAlreadyOpened
      • GetBalance
      • GetBalance
      • PlayerBet #1 (-50)
      • PlayerBet #1 (-50)
      • PlayerWin (+150)
      • PlayerWin (+150)
      • PlayerBet #2 (-50)
      • PlayerBet #2 (-50)
      • PlayerWinZeroAmount (+0)
      • PlayerWinZeroAmount (+0)
      • PlayerBet #3 (-50)
      • PlayerBet #3 (-50)
      • PlayerWin (+200)
      • PlayerWin (+200)
      • PlayerWinTransactionAlreadyExist
      • PlayerWinTransactionAlreadyExist
      • PlayerBet #4 (-200)
      • PlayerBet #4 (-200)
      • PlayerBetTransactionAlreadyExist
      • PlayerBetTransactionAlreadyExist
      • PlayerBetBadHash
      • PlayerBetBadHash
      • PlayerWinBadHash
      • PlayerWinBadHash
      • CancelBet #4 (+200)
      • CancelBet #4 (+200)
      • CancelBetAlreadyCancelled
      • CancelBetAlreadyCancelled
      • CancelBetDoesNotExist
      • CancelBetDoesNotExist
      • PlayerBet #5 (-50)
      • PlayerBet #5 (-50)
      • CloseSession
      • CloseSession
      • PlayerBet #6 (-250)
      • PlayerBet #6 (-250)
      • PlayerWin (+50)
      • PlayerWin (+50)
      • CancelBet #5 (+50)
      • CancelBet #5 (+50)
      • PlayerBet #7 (-100)
      • PlayerBet #7 (-100)
      • PlayerBet #8 (-50)
      • PlayerBet #8 (-50)
      • PlayerBet #9 (-25)
      • PlayerBet #9 (-25)
      • PlayerBet #10 (-25)
      • PlayerBet #10 (-25)
      • PlayerBet #11 (-50)
      • PlayerBet #11 (-50)
      • CancelBet #7 (+100)
      • CancelBet #7 (+100)
      • CancelBet #9 (+25)
      • CancelBet #9 (+25)
      • CancelBet #11 (+50)
      • CancelBet #11 (+50)
      • PlayerWin (+75)
      • PlayerWin (+75)
      • CloseSessionAlreadyClosed
      • CloseSessionAlreadyClosed
      • FinalCheckBalance
      • FinalCheckBalance
    • RemoteSession
  • IMEI
    • Get account details
    • Get list of available services
    • Create Bulk Search
    • Export CSV for Bulk Search
    • Export JSON for Bulk Search
    • Get list of Bulk Search history
    • Single service check
    • Get single history result
    • Get list of search history
    • SYNC-API Single service check
  • GPK
    • 玩家取得遊戲連結
  • SUPERSET
    • Menu
      • /menu/
    • Queries
      • /query/
      • /query/distinct/{column_name}
      • /query/related/{column_name}
      • /query/{pk}
      • /saved_query/
      • /saved_query/
      • /saved_query/
      • /saved_query/_info
      • /saved_query/distinct/{column_name}
      • /saved_query/export/
      • /saved_query/related/{column_name}
      • /saved_query/{pk}
      • /saved_query/{pk}
      • /saved_query/{pk}
    • Annotation Layers
      • /annotation_layer/
      • /annotation_layer/
      • /annotation_layer/
      • /annotation_layer/_info
      • /annotation_layer/related/{column_name}
      • /annotation_layer/{pk}
      • /annotation_layer/{pk}
      • /annotation_layer/{pk}
      • /annotation_layer/{pk}/annotation/
      • /annotation_layer/{pk}/annotation/
      • /annotation_layer/{pk}/annotation/
      • /annotation_layer/{pk}/annotation/{annotation_id}
      • /annotation_layer/{pk}/annotation/{annotation_id}
      • /annotation_layer/{pk}/annotation/{annotation_id}
    • AsyncEventsRestApi
      • /async_event/
    • CacheRestApi
      • /cachekey/invalidate
    • Charts
      • /chart/
      • /chart/
      • /chart/
      • /chart/_info
      • /chart/data
      • /chart/data/{cache_key}
      • /chart/export/
      • /chart/favorite_status/
      • /chart/import/
      • /chart/related/{column_name}
      • /chart/{pk}
      • /chart/{pk}
      • /chart/{pk}
    • CSS Templates
      • /css_template/
      • /css_template/
      • /css_template/
      • /css_template/_info
      • /css_template/related/{column_name}
      • /css_template/{pk}
      • /css_template/{pk}
      • /css_template/{pk}
    • Dashboards
      • /dashboard/
      • /dashboard/
      • /dashboard/
      • /dashboard/_info
      • /dashboard/export/
      • /dashboard/favorite_status/
      • /dashboard/import/
      • /dashboard/related/{column_name}
      • /dashboard/{pk}
      • /dashboard/{pk}
      • /dashboard/{pk}
      • /dashboard/{pk}/charts
    • Database
      • /database/
      • /database/
      • /database/_info
      • /database/export/
      • /database/import/
      • /database/test_connection
      • /database/{pk}
      • /database/{pk}
      • /database/{pk}
      • /database/{pk}/function_names/
      • /database/{pk}/related_objects/
      • /database/{pk}/schemas/
      • /database/{pk}/select_star/{table_name}/
      • /database/{pk}/select_star/{table_name}/{schema_name}/
      • /database/{pk}/table/{table_name}/{schema_name}/
    • Datasets
      • /dataset/
      • /dataset/
      • /dataset/
      • /dataset/_info
      • /dataset/distinct/{column_name}
      • /dataset/export/
      • /dataset/import/
      • /dataset/related/{column_name}
      • /dataset/{pk}
      • /dataset/{pk}
      • /dataset/{pk}
      • /dataset/{pk}/refresh
      • /dataset/{pk}/related_objects
    • LogRestApi
      • /log/
      • /log/
      • /log/{pk}
    • OpenApi
      • /openapi/{version}/_openapi
    • Security
      • /security/csrf_token/
      • /security/login
      • /security/refresh
  • VEGAS
    • BI
      • pre-login
      • login
      • dashboard
    • vl
      • Client API v2.0
        • Get Game List
      • Authentication API v2.0
        • Validate Authorization Code
        • Refresh Access Token
        • Get Account Information
      • Seamless Wallet API v2.0
        • Place Bet
        • Send Payoff
        • Reverse Transaction
        • Get Player Balance
      • Transfer Wallet API v2.0
        • Deposit money to the player's wallet.
        • Withdraw money from the player's wallet.
        • Get the current balance for the player.
        • Query players by balance.
        • Query player's total bet amount since last deposit.
        • Query player's bet/payout summary.
        • Query Total Loss Summary
      • Report API
        • Get Transfers
        • Check Transaction
        • Get Game History Link
        • Verify Transactions Summary
        • Get Detailed Betting Report
        • Get Betting Report
      • isonline
    • Vegaslounge
      • VEGASLOUNGE API集成指南手册
      • 客户端 CLIENT API
        • 示例 获取游戏列表
      • 身份验证 Authentication API
      • 转账钱包 TRANSFER WALLET
        • 示例: 获取玩家余额 Balance
        • 示例: 查询玩家指定余额 playersByBalance
        • 示例: 查询总损失总结 getTotalLoss API
        • 示例: 转入 DEPOSIT API
        • 示例: 转出 WITHDRAW API
        • 示例: 查询玩家最后存款投注金额 betAmountSinceLastDeposit
        • 示例: 查询玩家投注总结 getSummaryBet
        • 示例: 投注记录 REPORT/BETS API
      • 免转钱包 SEAMLESS WALLET
      • 报表 REPORT API
        • Verify Transactions
        • Check Transaction
        • Order Link
        • Verify Transactions Summary
        • Detailed Betting report
      • 附录
        • 投注类型
      • CompletedDOC
      • Verify Transactions
      • Check Transaction
      • Order Link
      • Verify Transactions Summary
      • Detailed Betting report
    • VL
      • report_bets
      • replay_Transfer
      • report_verifyTransactionsSummary
      • report_orderLink
      • report_checkTransaction
      • report_transfer
      • report_getTotalLoss
      • report_getSummaryBet
      • replay
      • betAmountSinceLastDeposit
      • playersByBalance
      • balance
      • withdrawal
      • deposit
    • VegasloungeAPI
      • 客户端 CLIENT API
        • 示例 获取游戏列表
      • 身份验证 Authentication API
      • 转账钱包 TRANSFER WALLET
        • 示例: 获取玩家余额 Balance
        • 示例: 查询玩家指定余额 playersByBalance
        • 示例: 查询总损失总结 getTotalLoss API
        • 示例: 转入 DEPOSIT API
        • 示例: 转出 WITHDRAW API
        • 示例: 查询玩家最后存款投注金额 betAmountSinceLastDeposit
        • 示例: 查询玩家投注总结 getSummaryBet
        • 示例: 投注记录 REPORT/BETS API
      • 免转钱包 SEAMLESS WALLET
      • 报表 REPORT API
        • Verify Transactions
        • Check Transaction
        • Order Link
        • Verify Transactions Summary
        • Detailed Betting report
      • CompletedDOC
        • 附录
          • 投注类型
      • Detailed Betting report
      • Verify Transactions Summary
      • Order Link
      • Check Transaction
      • Verify Transactions
  1. Flight Booking

Flight Offers Price

POST
/v1/shopping/flight-offers/pricing
The Flight Offers Price REST/JSON API is an open price API that enables you to get or confirm the price of a flight and obtain information about taxes and fees to be applied to the entire journey.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
X-HTTP-Method-Override
string 
required
Example:
GET
Body Params text/plain
Example
Example:{ "data": { "type": "flight-offers-pricing", "flightOffers": [ {{flightOfferData}} ] } }

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/shopping/flight-offers/pricing' \
--header 'X-HTTP-Method-Override: GET' \
--header 'Content-Type: text/plain' \
--data-raw '{
    "data": {
        "type": "flight-offers-pricing",
        "flightOffers": [
        {{flightOfferData}}
        ]
    }
}'

Responses

🟢200Flight Offers Price
application/json
Body
data
object 
required
type
string 
required
flightOffers
array [object {12}] 
required
bookingRequirements
object 
required
dictionaries
object 
required
locations
object 
required
Example
{
    "data": {
        "type": "flight-offers-pricing",
        "flightOffers": [
            {
                "type": "flight-offer",
                "id": "1",
                "source": "GDS",
                "instantTicketingRequired": false,
                "nonHomogeneous": false,
                "paymentCardRequired": false,
                "lastTicketingDate": "2024-03-21",
                "itineraries": [
                    {
                        "segments": [
                            {
                                "departure": {
                                    "iataCode": "BOS",
                                    "terminal": "E",
                                    "at": "2024-04-04T17:00:00"
                                },
                                "arrival": {
                                    "iataCode": "MAD",
                                    "terminal": "4S",
                                    "at": "2024-04-05T06:00:00"
                                },
                                "carrierCode": "IB",
                                "number": "6166",
                                "aircraft": {
                                    "code": "330"
                                },
                                "operating": {
                                    "carrierCode": "IB"
                                },
                                "duration": "PT7H",
                                "id": "1",
                                "numberOfStops": 0,
                                "co2Emissions": [
                                    {
                                        "weight": 594,
                                        "weightUnit": "KG",
                                        "cabin": "BUSINESS"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "segments": [
                            {
                                "departure": {
                                    "iataCode": "MAD",
                                    "terminal": "4S",
                                    "at": "2024-04-18T20:45:00"
                                },
                                "arrival": {
                                    "iataCode": "LHR",
                                    "terminal": "5",
                                    "at": "2024-04-18T22:00:00"
                                },
                                "carrierCode": "IB",
                                "number": "7467",
                                "aircraft": {
                                    "code": "319"
                                },
                                "operating": {
                                    "carrierCode": "BA"
                                },
                                "duration": "PT2H15M",
                                "id": "4",
                                "numberOfStops": 0,
                                "co2Emissions": [
                                    {
                                        "weight": 116,
                                        "weightUnit": "KG",
                                        "cabin": "BUSINESS"
                                    }
                                ]
                            },
                            {
                                "departure": {
                                    "iataCode": "LHR",
                                    "terminal": "5",
                                    "at": "2024-04-19T17:15:00"
                                },
                                "arrival": {
                                    "iataCode": "BOS",
                                    "terminal": "E",
                                    "at": "2024-04-19T19:50:00"
                                },
                                "carrierCode": "AY",
                                "number": "5503",
                                "aircraft": {
                                    "code": "781"
                                },
                                "operating": {
                                    "carrierCode": "BA"
                                },
                                "duration": "PT7H35M",
                                "id": "5",
                                "numberOfStops": 0,
                                "co2Emissions": [
                                    {
                                        "weight": 282,
                                        "weightUnit": "KG",
                                        "cabin": "ECONOMY"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "price": {
                    "currency": "USD",
                    "total": "6502.20",
                    "base": "3898.00",
                    "fees": [
                        {
                            "amount": "0.00",
                            "type": "SUPPLIER"
                        },
                        {
                            "amount": "0.00",
                            "type": "TICKETING"
                        },
                        {
                            "amount": "0.00",
                            "type": "FORM_OF_PAYMENT"
                        }
                    ],
                    "grandTotal": "6502.20",
                    "billingCurrency": "USD"
                },
                "pricingOptions": {
                    "fareType": [
                        "PUBLISHED"
                    ],
                    "includedCheckedBagsOnly": false
                },
                "validatingAirlineCodes": [
                    "IB"
                ],
                "travelerPricings": [
                    {
                        "travelerId": "1",
                        "fareOption": "STANDARD",
                        "travelerType": "ADULT",
                        "price": {
                            "currency": "USD",
                            "total": "3251.10",
                            "base": "1949.00",
                            "taxes": [
                                {
                                    "amount": "7.00",
                                    "code": "XY"
                                },
                                {
                                    "amount": "3.90",
                                    "code": "QV"
                                },
                                {
                                    "amount": "985.00",
                                    "code": "YQ"
                                },
                                {
                                    "amount": "5.60",
                                    "code": "AY"
                                },
                                {
                                    "amount": "0.70",
                                    "code": "OG"
                                },
                                {
                                    "amount": "186.00",
                                    "code": "YR"
                                },
                                {
                                    "amount": "3.83",
                                    "code": "XA"
                                },
                                {
                                    "amount": "6.97",
                                    "code": "YC"
                                },
                                {
                                    "amount": "16.00",
                                    "code": "JD"
                                },
                                {
                                    "amount": "38.20",
                                    "code": "UB"
                                },
                                {
                                    "amount": "44.40",
                                    "code": "US"
                                },
                                {
                                    "amount": "4.50",
                                    "code": "XF"
                                }
                            ],
                            "refundableTaxes": "82.20"
                        },
                        "fareDetailsBySegment": [
                            {
                                "segmentId": "1",
                                "cabin": "BUSINESS",
                                "fareBasis": "INX4A3S5",
                                "brandedFare": "BUSOPTIMA",
                                "class": "I",
                                "includedCheckedBags": {
                                    "quantity": 2
                                }
                            },
                            {
                                "segmentId": "4",
                                "cabin": "BUSINESS",
                                "fareBasis": "INX4A3S5",
                                "brandedFare": "BUSOPTIMA",
                                "class": "J",
                                "includedCheckedBags": {
                                    "quantity": 1
                                }
                            },
                            {
                                "segmentId": "5",
                                "cabin": "ECONOMY",
                                "fareBasis": "LLX4F0M5",
                                "brandedFare": "ECLASSIC",
                                "class": "L",
                                "includedCheckedBags": {
                                    "quantity": 1
                                }
                            }
                        ]
                    },
                    {
                        "travelerId": "2",
                        "fareOption": "STANDARD",
                        "travelerType": "CHILD",
                        "price": {
                            "currency": "USD",
                            "total": "3251.10",
                            "base": "1949.00",
                            "taxes": [
                                {
                                    "amount": "7.00",
                                    "code": "XY"
                                },
                                {
                                    "amount": "3.90",
                                    "code": "QV"
                                },
                                {
                                    "amount": "985.00",
                                    "code": "YQ"
                                },
                                {
                                    "amount": "5.60",
                                    "code": "AY"
                                },
                                {
                                    "amount": "0.70",
                                    "code": "OG"
                                },
                                {
                                    "amount": "186.00",
                                    "code": "YR"
                                },
                                {
                                    "amount": "3.83",
                                    "code": "XA"
                                },
                                {
                                    "amount": "6.97",
                                    "code": "YC"
                                },
                                {
                                    "amount": "16.00",
                                    "code": "JD"
                                },
                                {
                                    "amount": "38.20",
                                    "code": "UB"
                                },
                                {
                                    "amount": "44.40",
                                    "code": "US"
                                },
                                {
                                    "amount": "4.50",
                                    "code": "XF"
                                }
                            ],
                            "refundableTaxes": "82.20"
                        },
                        "fareDetailsBySegment": [
                            {
                                "segmentId": "1",
                                "cabin": "BUSINESS",
                                "fareBasis": "INX4A3S5",
                                "brandedFare": "BUSOPTIMA",
                                "class": "I",
                                "includedCheckedBags": {
                                    "quantity": 2
                                }
                            },
                            {
                                "segmentId": "4",
                                "cabin": "BUSINESS",
                                "fareBasis": "INX4A3S5",
                                "brandedFare": "BUSOPTIMA",
                                "class": "J",
                                "includedCheckedBags": {
                                    "quantity": 1
                                }
                            },
                            {
                                "segmentId": "5",
                                "cabin": "ECONOMY",
                                "fareBasis": "LLX4F0M5",
                                "brandedFare": "ECLASSIC",
                                "class": "L",
                                "includedCheckedBags": {
                                    "quantity": 1
                                }
                            }
                        ]
                    }
                ]
            }
        ],
        "bookingRequirements": {
            "emailAddressRequired": true,
            "mobilePhoneNumberRequired": true,
            "travelerRequirements": [
                {
                    "travelerId": "1",
                    "genderRequired": true,
                    "documentRequired": true,
                    "dateOfBirthRequired": true,
                    "redressRequiredIfAny": true,
                    "residenceRequired": true
                },
                {
                    "travelerId": "2",
                    "genderRequired": true,
                    "documentRequired": true,
                    "dateOfBirthRequired": true,
                    "redressRequiredIfAny": true,
                    "residenceRequired": true
                }
            ]
        }
    },
    "dictionaries": {
        "locations": {
            "MAD": {
                "cityCode": "MAD",
                "countryCode": "ES"
            },
            "BOS": {
                "cityCode": "BOS",
                "countryCode": "US"
            },
            "LHR": {
                "cityCode": "LON",
                "countryCode": "GB"
            }
        }
    }
}
Previous
Flight Offers Search
Next
Flight Create Orders
Built with