How can I receive the Seller's transactions in their own API format?

All about auditting Seller transactions at TravelgateX

By adding the "auditTransactions" field to your queries and mutations you will be able to obtain, packed in the response, TravelgateX transactions with the Seller (both the raw request and response).


Even though it is a great feature to add to all your Booking Flow and Booking Management methods, make sure you follow the recommendations below:

  • Search: Make sure you don't set the "auditTransactions" value to false by default, otherwise the responses will be too heavy and it will affect the API performance.
    Exception: You can set the "auditTransactions" value temporarily to true in case of an error in order to check the Seller's response.
  • For the rest of the methods you can set it to "true", so you always know what is the raw request and response we made to the Seller and thus, if an error is returned, know where it is coming from. 

Hotel-X Buyers API

You should set your"auditTransactions": true in your request: Make sure you configure both your Query and Query variables according to the following information:
query ($criteriaSearch: HotelCriteriaSearchInput, $settings: HotelSettingsInput, $filter: FilterInput) {
  hotelX {
    search(criteria: $criteriaSearch, settings: $settings, filter: $filter) {
      auditData {
        transactions {
"auditTransactions": xxxx,
You will them receive the Seller's transactions within the "auditData" tag in your response.

Hotel Buyers API (Legacy)

You should add the following nodes (registerTransactions) into your main MethodRQ:
You will them receive the Seller's transactions within the "auditData" tag in your response.

Seller transactions through Stats and Logging APPs:

You can also download the logs from previous transactions (except for Search, since our system does not save Search logs by default) through our Stats and Logging APPs.
It's is paramount that you only use the "AuditTransactions" or "RegisterTransactions" in Search for testing purposes. If you use it on Search for a live environment you can overload the system or increase your response times.