Travel.win provides three web hooks for our partners. They will be triggered by events that happen on our platform and will be sent. to the URLs you provide us during integration. It is the partner’s responsibility to consume them and take action on reception.

Reservation Webhook

This webhook will be sent immediately after a reservation has been completed on the Travel.Win platform.

The request will be sent as PUT. The data will be formatted as JSON and will be located in the body of the request.

PUT Request URL format:

https://{URL}/{offerLinkID}

Sample Request Body:

{“metadata”:{“checkin”:”2021-05-12″,”bookingTimeStamp”:”2021-11-22T14:16:37″,”offerName”:”Hawthorn Suites by Wyndham Tempe\/Mesa\/Phoenix Area, Tempe, AZ”,”checkout”:”2021-05-14″,”termsAndConditions”:”This rate is nonrefundable”},”rebateAmount”:12.13,”transactionAmount”:89.69,”currencyCode”:”GBP”,”transactionId”:7514485}

Cancellation Webhook

This webhook will be sent immediately after a cancellation has been completed on the Travel.Win platform. A cancellation may be requested by the customer with the online form or through our customer service call center.

The request will be sent as POST. The data will be formatted as JSON and will be located in the body of the request.

Sample Request Body:

{“itineraryID”:7252057,”status”:-1}

Statement Credit Webhook

This webhook will be sent once per day and will include an array of bookings that were credited in the previous 24 hours. The rebateTimeStamp represents an approximation of the date and time that the user will see the transaction on their bank statement.

The request will be sent as PUT. The data will be formatted as JSON and will be located in the body of the request

PUT Request URL format:

https:/{{URL}}/{offerLinkID}

Sample Request Body:

{“statusDescription”:”Statement credit has been processed successfully”,”offerLinkID”:”182939″,”settlementDateTime”:”2021-11-09T17:22:38″,”transactionId”:7514476,”status”:”Success”}