> For the complete documentation index, see [llms.txt](https://developer.siteminder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.siteminder.com/direct-booking-api/reference/extras.md).

# Extras

## Retrieve details of a specific extra

> Retrieve a specific extra's details, including its photos and applicable taxes.<br>

```json
{"openapi":"3.1.0","info":{"title":"Direct Booking API","version":"0.0.1"},"security":[{"apiKey":[]}],"components":{"securitySchemes":{"apiKey":{"type":"apiKey","name":"x-sm-api-key","in":"header"}},"schemas":{"ExtraDetail":{"type":"object","additionalProperties":false,"required":["uuid","name","description","category","mandatory","amount","adultRate","childRate","allowMultiple","applicableFrom","applicableTo","photos","taxes"],"properties":{"uuid":{"type":"string","description":"Unique identifier for the extra."},"name":{"type":"string","description":"Name of the extra."},"description":{"type":"string","nullable":true,"description":"Description of the extra, null when it has none."},"category":{"type":"string","enum":["per-booking","per-room","per-room-per-night","per-person","per-person-per-night"],"description":"How the extra is charged."},"mandatory":{"type":"boolean","description":"Whether the extra is always added to a booking rather than being optional."},"amount":{"type":"number","nullable":true,"description":"Charge for the extra, per booking / per room / per room per night depending on category. Null for the two per-person categories, where adultRate and childRate apply instead.\n"},"adultRate":{"type":"number","nullable":true,"description":"Charge per adult, null unless the category is per-person or per-person-per-night."},"childRate":{"type":"number","nullable":true,"description":"Charge per child, null unless the category is per-person or per-person-per-night."},"allowMultiple":{"type":"boolean","description":"Whether more than one unit of this extra can be added to a single booking."},"applicableFrom":{"type":"string","format":"date","nullable":true,"description":"Earliest stay date the extra applies to, null when unbounded."},"applicableTo":{"type":"string","format":"date","nullable":true,"description":"Latest stay date the extra applies to, null when unbounded."},"photos":{"type":"array","description":"Photos for this extra, sorted by position. Empty array when it has none.","items":{"$ref":"#/components/schemas/ExtraPhoto"}},"taxes":{"type":"array","description":"Taxes applicable to this extra — property-wide taxes, taxes applicable to all extras, and taxes selectively applied to this extra. Empty array when none apply.\n","items":{"$ref":"#/components/schemas/ExtraTax"}}}},"ExtraPhoto":{"type":"object","additionalProperties":false,"required":["url","caption","sortOrder"],"properties":{"url":{"type":"string","description":"Public URL of the photo"},"caption":{"type":"string","nullable":true,"description":"Caption for the photo, null when none is set"},"sortOrder":{"type":"integer","nullable":true,"description":"Display order, starting at 1 and contiguous across photos that have a stored position. Null for photos with no stored position; these always come last.\n"}}},"ExtraTax":{"type":"object","additionalProperties":false,"required":["uuid","name","percentage"],"properties":{"uuid":{"type":"string","description":"Unique identifier for the tax."},"name":{"type":"string","description":"Name of the tax."},"percentage":{"type":"number","description":"Percentage rate charged by this tax."}}}},"responses":{"BadRequest":{"description":"Bad Request","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"$ref":"#/components/responses/NotFound/headers/X-SM-TRACE-TOKEN/schema"}}},"content":{"application/json":{"schema":{"$ref":"#/components/responses/NotFound/content/application~1json/schema"}}}},"NotFound":{"description":"The specified resource was not found","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"type":"string","description":"Character string with length 1 to 36 and with uuid format","minLength":1,"maxLength":36,"format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["errors"],"properties":{"errors":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["message","name"],"properties":{"message":{"type":"string"},"name":{"type":"string"},"meta":{"type":"object","description":"Error metadata"}}}}}}}}},"NotAuthorised":{"description":"Not Authorised","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"$ref":"#/components/responses/NotFound/headers/X-SM-TRACE-TOKEN/schema"}}},"content":{"application/json":{"schema":{"$ref":"#/components/responses/NotFound/content/application~1json/schema"}}}},"AccessDenied":{"description":"Access Denied","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"$ref":"#/components/responses/NotFound/headers/X-SM-TRACE-TOKEN/schema"}}},"content":{"application/json":{"schema":{"$ref":"#/components/responses/NotFound/content/application~1json/schema"}}}},"RateLimited":{"description":"Rate Limited","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"$ref":"#/components/responses/NotFound/headers/X-SM-TRACE-TOKEN/schema"}}},"content":{"application/json":{"schema":{"$ref":"#/components/responses/NotFound/content/application~1json/schema"}}}},"InternalServerError":{"description":"Internal Server Error","headers":{"X-SM-TRACE-TOKEN":{"description":"SiteMinder trace token","schema":{"$ref":"#/components/responses/NotFound/headers/X-SM-TRACE-TOKEN/schema"}}},"content":{"application/json":{"schema":{"$ref":"#/components/responses/NotFound/content/application~1json/schema"}}}}},"parameters":{"apiKey":{"name":"x-sm-api-key","in":"header","schema":{"type":"string"},"required":true,"description":"API key used to authenticate the request."},"propertyUuid":{"in":"path","name":"propertyUuid","required":true,"schema":{"type":"string"},"description":"UUID for a property."},"extraUuid":{"in":"path","name":"uuid","description":"UUID for an extra.","required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","pattern":"^[a-zA-Z0-9]+$","minLength":10}]}}}},"paths":{"/properties/{propertyUuid}/extras/{uuid}":{"get":{"tags":["extras:read"],"operationId":"getExtra","summary":"Retrieve details of a specific extra","description":"Retrieve a specific extra's details, including its photos and applicable taxes.\n","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraDetail"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/NotAuthorised"},"403":{"$ref":"#/components/responses/AccessDenied"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalServerError"}},"parameters":[{"$ref":"#/components/parameters/apiKey"},{"$ref":"#/components/parameters/propertyUuid"},{"$ref":"#/components/parameters/extraUuid"}]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.siteminder.com/direct-booking-api/reference/extras.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
