API Reference

Push booking

The Hotel Planet API sends a notification to the provided webhook for every completed booking to ensure synchronization with the Hotel Planet system.

Below is the payload that Hotel Planet sends to the webhook.

{
    "hotelId": "hopper_13",
    "reservations": {
        "reservation": [
            {
                "reservation_datetime": "2025-02-18T16:14:54",
                "propertyname": "IDOU New York",
                "reservation_id": "55191",
                "payment_required": "0",
                "payment_type": "Channel Collect",
                "totalamountaftertax": "120.00",
                "totaltax": "10.00",
                "currencycode": "USD",
                "status": "Cancel",
                "customer": {
                    "first_name": "nuitee",
                    "last_name": "travel"
                },
                "paymentcarddetail": {
                    "CardHolderName": "nuitee travel",
                    "CardType": "VI",
                    "ExpireDate": "01/2030",
                    "CardNumber": "4111111111111111",
                    "cvv": "123"
                },
                "room": [
                    {
                        "arrival_date": "2025-03-01",
                        "departure_date": "2025-03-02",
                        "room_id": "RMID56890",
                        "room_name": "Double Room",
                        "price": [
                            {
                                "date": "2025-03-01",
                                "rate_id": "RTID",
                                "rate_name": "RTID",
                                "amountaftertax": "120.00"
                            }
                        ],
                        "first_name": "nuitee",
                        "last_name": "travel",
                        "taxes": [
                            {
                                "name": "VAT",
                                "value": "10.00"
                            }
                        ],
                        "amountaftertax": "120.00",
                        "GuestCount": [
                            {
                                "AgeQualifyingCode": "10",
                                "Count": "2"
                            }
                        ]
                    }
                ]
            }
        ]
    }
}
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!