Skip to main content

Currency

Currency Code

Return the default currency for the hotel.

Sample Request

Use include=Currency to return the default currency for the hotel.

/v1/api/hotel/13098/details?primaryChannel=WEB&include=Currency

Response (partial)

{
    "contentLists": {
        "currencyList": [{
            "Code": "USD",
            "Name": "US Dollars",
            "DecimalPlaces": 2,
            "RateOfExchange": "USD",
            "Symbol": "$"
        }]
    },
    "hotelList": [{
        "Currency": {
            "Code": "USD",
            "Name": "US Dollars",
            "Default": true
        },
        "ID": "13098",
        "Name": "Amorim Hotel"
    }]
}

 

Request Currency name in a specified language.

Note: Use Accept-Language to return language specific content.

Response (partial)

{
    "contentLists": {
        "currencyList": [{
            "Code": "USD",
            "Name": "Dollar (Etats-Unis)",
            "DecimalPlaces": 2,
            "RateOfExchange": "USD",
            "Symbol": "$"
        }]
    },
    "hotelList": [{
        "Currency": {
            "Code": "USD",
            "Name": "Dollar (Etats-Unis)",
            "Default": true
        },
        "ID": "13098",
        "Name": "Amorim Hotel"
    }]
}