> For the complete documentation index, see [llms.txt](https://developer.rategain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.rategain.com/ultradirect/ultradirect-transaction-samples-and-usage/guarantee-type-and-method-combinations.md).

# Guarantee Type and Method Combinations

Guarantee Type= “Guarantee”

Guarantee Method = “Credit Card” This is the most common method used when booking a reservation.

```xml
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process DataPath="/HotelML/Form/BookReservation" Function="TI_BookReservationV1_1" Token="1302886758843"/>
<Route Destination="00" Source="XX"/>
</Head>
<Form>
<BookReservation CurrencyCode="NOK" GuaranteeMethod="CreditCard" GuaranteeType="Guarantee" InDate="2011-09-05" OutDate="2011-09-07" PropertyCode="SH;29550" RatePlanCode="RA4" RoomTypeCode="C1Q">
<AgentInfo Number="XXXXXXXX" Type="IATA"/>
<CreditCard ExpirationDate="2013-12" IssuedName="Test Booking" Number="4321432143214327" TypeIdentifier="VI"/>
<Guest FirstName="Test" LastName="Booking" NumberOfAdults="1" NumberOfRooms="1" Primary="true" Remarks="Credit Card Guarantee" ServiceReqest="Credit Card Guarantee">
<Email Address="
paul.taylor@pegs.com
"/>
<Phone Number="4806246163"/>
<PostalAddress City="Scottsdale" CountryCode="US" Line1="14000 N Pima Rd" PostalCode="85260" StateCode="AZ"/>
</Guest>
</BookReservation>
</Form>
</HotelML>
```

<br>

Guarantee Method = “Company”

**· The guarantee to Company should only be used when it is included as an authorized method in the commercial agreements between the hotel company and the distribution company.**

```xml
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process DataPath="/HotelML/Form/BookReservation" Function="TI_BookReservationV1_1" Token="1302821219881"/>
<Route Destination="00" Source="XX"/>
</Head>
<Form>
<BookReservation CurrencyCode="NOK" GuaranteeMethod="Company" GuaranteeType="Guarantee" InDate="2011-05-27" OutDate="2011-05-28" PropertyCode="SH;29550" RatePlanCode="RA5" RoomTypeCode="B2T">
<AgentInfo Number="XXXXXXXX" Type="IATA"/>
<Guest FirstName="Test" LastName="Booking" NumberOfAdults="1" NumberOfRooms="1" Primary="true" Remarks="Testing Company Guarantee" ServiceReqest="Testing Company Guarantee">
<CorpInfo Code="1234567"/>
<Email Address="
paul.taylor@pegs.com
"/>
<Phone Number="4806246163"/>
<PostalAddress City="Scottsdale" CountryCode="US" Line1="14000 N Pima Rd" PostalCode="85260" StateCode="AZ"/>
</Guest>
</BookReservation>
</Form>
</HotelML>

```

Guarantee Method = “Agency”

**·         Guarantee to Agency should only be used when it is included as an authorized method in the commercial agreements between the hotel company and the distribution company.**

```xml
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process DataPath="/HotelML/Form/BookReservation" Function="TI_BookReservationV1_1" Token="1302820604493"/>
<Route Destination="00" Source="XX"/>
</Head>
<Form>
<BookReservation CurrencyCode="NOK" GuaranteeMethod="Agency" GuaranteeType="Guarantee" InDate="2011- 05-27" OutDate="2011-05-28" PropertyCode="SH;29550" RatePlanCode="RA5" RoomTypeCode="C1Q">
<AgentInfo Number="XXXXXXXX" Type="IATA"/>
<Guest FirstName="Test" LastName="Booking" NumberOfAdults="1" NumberOfRooms="1" Primary="true" Remarks="Testing Agency Guarantee" ServiceReqest="Testing Agency Guarantee">
<Email Address="
paul.taylor@pegs.com
"/>
<Phone Number="4806246163"/>
<PostalAddress City="Scottsdale" CountryCode="US" Line1="14000 N Pima Rd" PostalCode="85260" StateCode="AZ"/>
</Guest>
</BookReservation>
</Form>
</HotelML>
```

Guarantee Type= “Deposit”

* Guarantee Method = “Credit Card” This is the most common method used during booking where the availability response indicates a Deposit is required.

```xml
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process DataPath="/HotelML/Form/BookReservation" Function="TI_BookReservationV1_1" Token="1302887019633"/>
<Route Destination="00" Source="XX"/>
</Head>
<Form>
<BookReservation CurrencyCode="NOK" GuaranteeMethod="CreditCard" GuaranteeType="Deposit" InDate="2011- 09-05" OutDate="2011-09-07" PropertyCode="SH;29550" RatePlanCode="RA4" RoomTypeCode="C1Q">
<AgentInfo Number="XXXXXXXX" Type="IATA"/>
<CreditCard ExpirationDate="2013-12" IssuedName="Test Booking" Number="4321432143214327" TypeIdentifier="VI"/>
<Guest FirstName="Test" LastName="Booking" NumberOfAdults="1" NumberOfRooms="1" Primary="true" Remarks="Credit Card Deposit" ServiceReqest="Credit Card Deposit">
<Email Address="
paul.taylor@pegs.com
"/>
<Phone Number="4806246163"/>
<PostalAddress City="Scottsdale" CountryCode="US" Line1="14000 N Pima Rd" PostalCode="85260" StateCode="AZ"/>
</Guest>
</BookReservation>
</Form>
</HotelML>

```

* Guarantee Method = “CashOrCheck” Use of this method of Deposit should not be used unless authorized by commercial agreements between the hotel company and the distribution company.

```xml
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process DataPath="/HotelML/Form/BookReservation" Function="TI_BookReservationV1_1" Token="1302887839570"/>
<Route Destination="00" Source="XX"/>
</Head>
<Form>
<BookReservation CurrencyCode="NOK" GuaranteeMethod="CashOrCheck" GuaranteeType="Deposit" InDate="2011-09-05" OutDate="2011-09-07" PropertyCode="SH;29550" RatePlanCode="RA4" RoomRate="1510.00" RoomTypeCode="C1Q">
<AgentInfo Number="XXXXXXXX" Type="IATA"/>
<Guest FirstName="Test" LastName="Booking" NumberOfAdults="1" NumberOfRooms="1" Primary="true" Remarks="Cash or Check Deposit" ServiceReqest="Cash or Check Deposit">
<Email Address="
paul.taylor@pegs.com
"/>
<Phone Number="4806246163"/>
<PostalAddress City="Scottsdale" CountryCode="US" Line1="14000 N Pima Rd" PostalCode="85260" StateCode="AZ"/>
</Guest>
</BookReservation>
</Form>
</HotelML>
```

* Guarantee Method = “Agency” Deposit to Agency should only be used when authorized by commercial agreements between the hotel and distribution.

```xml
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process DataPath="/HotelML/Form/BookReservation" Function="TI_BookReservationV1_1" Token="1302888427699"/>
<Route Destination="00" Source="XX"/>
</Head>
<Form>
<BookReservation CurrencyCode="NOK" GuaranteeMethod="Agency" GuaranteeType="Deposit" InDate="2011-09- 05" OutDate="2011-09-07" PropertyCode="SH;29550" RatePlanCode="RA4" RoomTypeCode="C1Q">
<AgentInfo Number="XXXXXXXX" Type="IATA"/>
<Guest FirstName="Test" LastName="Booking" NumberOfAdults="1" NumberOfRooms="1" Primary="true" ServiceReqest="Agency Deposit" Remarks="Agency Deposit">
<Email Address="
paul.taylor@pegs.com
"/>
<Phone Number="4806246163"/>
<PostalAddress City="Scottsdale" CountryCode="US" Line1="14000 N Pima Rd" PostalCode="85260" StateCode="AZ"/>
</Guest>
</BookReservation>
</Form>
</HotelML>
```

<br>

Guarantee Type= “PrePay”

* Guarantee Method = “Credit Card” This Guarantee Type is used when the hotel company indicates pre-payment is required.

```xml
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process DataPath="/HotelML/Form/BookReservation" Function="TI_BookReservationV1_1" Token="1302888699322"/>
<Route Destination="00" Source="XX"/>
</Head>
<Form>
<BookReservation CurrencyCode="NOK" GuaranteeMethod="CreditCard" GuaranteeType="PrePay" InDate="2011- 09-05" OutDate="2011-09-07" PropertyCode="SH;29550" RatePlanCode="RA4" RoomTypeCode="C1Q">
<AgentInfo Number="XXXXXXXX" Type="IATA"/>
<CreditCard ExpirationDate="2013-12" IssuedName="Test Booking" Number="4321432143214327" TypeIdentifier="VI"/>
<Guest FirstName="Test" LastName="Booking" NumberOfAdults="1" NumberOfRooms="1" Primary="true" ServiceRequest="Credit Card PrePay" Remarks="Credit Card PrePay">
<Email Address="
paul.taylor@pegs.com
"/>
<Phone Number="4806246163"/>
<PostalAddress City="Scottsdale" CountryCode="US" Line1="14000 N Pima Rd" PostalCode="85260" StateCode="AZ"/>
</Guest>
</BookReservation>
</Form>
</HotelML>

```

The following three methods should only be used when authorized by commercial agreements between the Hotel Company and the Distribution Company. A RateGain can assist in determining which method is best used to deliver the specific information required by the hotel company.

**·         Guarantee Method = “DirectBill”**

```xml
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process DataPath="/HotelML/Form/BookReservation" Function="TI_BookReservationV1_1" Token="1302888853809"/>
<Route Destination="00" Source="XX"/>
</Head>
<Form>
<BookReservation CurrencyCode="NOK" GuaranteeMethod="DirectBill" GuaranteeType="PrePay" InDate="2011- 09-05" OutDate="2011-09-07" PropertyCode="SH;29550" RatePlanCode="RA4" RoomTypeCode="C1Q">
<AgentInfo Number="XXXXXXXX" Type="IATA"/>
<Guest FirstName="Test" LastName="Booking" NumberOfAdults="1" NumberOfRooms="1" Primary="true" ServiceReqest="Direct Bill PrePay" Remarks="Direct Bill PrePay">
<Email Address="
paul.taylor@pegs.com
"/>
<Phone Number="4806246163"/>
<PostalAddress City="Scottsdale" CountryCode="US" Line1="14000 N Pima Rd" PostalCode="85260" StateCode="AZ"/>
</Guest>
</BookReservation>
</Form>
</HotelML>
```

**·         Guarantee Method = “Account”**

```xml
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process DataPath="/HotelML/Form/BookReservation" Function="TI_BookReservationV1_1" Token="1302889040751"/>
<Route Destination="00" Source="XX"/>
</Head>
<Form>
<BookReservation CurrencyCode="NOK" GuaranteeMethod="Account" GuaranteeType="PrePay" InDate="2011- 09-05" OutDate="2011-09-07" PropertyCode="SH;29550" RatePlanCode="RA4" RoomTypeCode="C1Q">
<AgentInfo Number="XXXXXXXX" Type="IATA"/>
<Guest FirstName="Test" LastName="Booking" NumberOfAdults="1" NumberOfRooms="1" Primary="true" ServiceReqest="Account PrePay" Remarks="Account PrePay">
<CorpInfo Code="12345678"/>
<Email Address="
paul.taylor@pegs.com
"/>
<Phone Number="4806246163"/>
<PostalAddress City="Scottsdale" CountryCode="US" Line1="14000 N Pima Rd" PostalCode="85260" StateCode="AZ"/>
</Guest>
</BookReservation>
</Form>
</HotelML>
```

**·         Guarantee Method = “CashOrCheck”**

```xml
<HotelML xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process DataPath="/HotelML/Form/BookReservation" Function="TI_BookReservationV1_1" Token="1302889487382"/>
<Route Destination="00" Source="XX"/>
</Head>
<Form>
<BookReservation CurrencyCode="NOK" GuaranteeMethod="CashOrCheck" GuaranteeType="PrePay" InDate="2011-09-05" OutDate="2011-09-07" PropertyCode="SH;29550" RatePlanCode="RA4" RoomTypeCode="C1Q">
<AgentInfo Number="XXXXXXXX" Type="IATA"/>
<Guest FirstName="Test" LastName="Booking" NumberOfAdults="1" NumberOfRooms="1" Primary="true" ServiceReqest="Cash or Check PrePay" Remarks="Cash Or Check PrePay">
<Email Address="
paul.taylor@pegs.com
"/>
<Phone Number="4806246163"/>
<PostalAddress City="Scottsdale" CountryCode="US" Line1="14000 N Pima Rd" PostalCode="85260" StateCode="AZ"/>
</Guest>
</BookReservation>
</Form>
</HotelML>
```


---

# 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.rategain.com/ultradirect/ultradirect-transaction-samples-and-usage/guarantee-type-and-method-combinations.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.
