How can we help?
Follow
Create Hotel Booking - Credit Card

This function submits a new booking request by credit card.

The request has to be directed to:

https://services.carsolize.com/BookingServices/dynamicdataservice.svc

Important notes:

1. You can book only those items that returned in the last search in the same session.

2. Same package can be booked several times, depending on supplier restrictions for duplicate bookings, or an error which prevents the second attempt. On case of duplicate booking error message (E4052), please see our error handling recommendation here:

https://carsolize.zendesk.com/hc/en-us/articles/201758989-Error-library-Error-handling

3. Our API requires full occupancy details, i.e you are required to specify the Passengers and CustomerInfo for each of the rooms requested, as some suppliers require that full information from us.

However, we aware that you might want to save from the customer the hassle of filling the information for all passengers, or you are not willing to collect that information on the first place, therefore, you may clone the passenger information from the lead pax (except for children).

For testing purposes, please use the following Credit Card details:

Card Type: VISA

Card Number: 4111111111111111

CVV: 333

Expire Date: Future date

 

** For GetARoom (GTR) supplier, use the following Credit Card details in case the previous didn't go through:

Card Type: VISA

Card Number: 4444444444444448

CVV: 123

Expire Date: Future date

 

** For Expedia (EXP) supplier, use the following Credit Card details, in case the previous didn't go through:

Card Type: VISA

Card Number: 4005550000000019

CVV: 123

Expire Date: Future date

 

Request fields for Card element:

Field Name Explanation
Card  
AddressLine Mandatory some suppliers
CID  
CVV Mandatory
CardNumber Mandatory
CardType

Mandatory. Visa, MasterCard, AmericanExpress, Diners, Discover, Eurocard, Maestro, JCB. Please note that suppliers (gross ones) might not support all credit card types, depending on what card type which the hotel accepts. Also, if you are booking using one of the integrated payment gateways on the system, please make sure you'be applied the correct configuration via our B2B.

On any case, we advise on calling to HotelPaymentPreferencesRequest just before sending the book request, in order to receive the applicable credit card types for the package you are requesting to book.

City Mandatory
Country Mandatory
Email Mandatory
ExpireDate Mandatory
HolderName Mandatory. 

First and last name, separated by space.

*** Please make sure you use only English characters, otherwise the booking might fail in supplier side! ***

Phone Mandatory
StartDate Mandatory for some cards (Amex)
State Mandatory for US/CA citizens
ZipCode Mandatory

 

 For the other request fields, please refer to 'Create Hotel Booking - Cash', with only 1 difference:

SelectedPaymentMethod

When credit card is provided - Do not pass anything here.

Our system will forward the Credit Card details to the appropriate 3 party receiver:

In case of a Gross package - The Credit Card details will be passed to the hotel supplier for processing the transaction.

In case of a NET package - The Credit Card details will be passed to the Payment Gateway for processing the transaction.

See more details on the Payment Gateways article:

https://carsolize.zendesk.com/hc/en-us/articles/203754369-Payment-Gateways-Suppliers

 

 

Response fields:

Field Name Explanation
HotelSegments The response can have several segments
BookingID Supplier booking confirmation id for this booking.
BookingReference

Supplier booking reference for this booking.

Note:

This fields may not rerutned in case the supplier returned single booking id or reference for this booking.

BookingRemarks Any supplier remarks for this booking.
OrderId Order ID as created on Travolutionary.
SegmentId

Segment ID as created on Travolutionary.

To be used with check status or cancel methods.

Status Booking status. See all the possible statuses list here

Please download attached examples.

Was this article helpful?
2 out of 2 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk