Prepare a checkout link
start_bookingAfter check_availability and the guest's choice: pass house, room_id or room_type, rate_id, dates and guests as returned. Checks again and returns a summary (room, dates, guests, total EUR) and checkout_url, where the guest enters details and pays. Show the summary, then give the guest checkout_url. Does not book, hold or charge. Never ask the guest for card details. Errors: NOT_AVAILABLE with alternatives, BOOKING_NOT_YET_ONLINE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| house | No | House from the booking option: hotel, chalet or motel (mondschein = hotel). Optional with room_id. | |
| adults | No | Number of adults, 1 to 8. | |
| arrival | Yes | Arrival date, YYYY-MM-DD. | |
| rate_id | Yes | rate_id from booking_options of check_availability, e.g. base. | |
| room_id | No | Room id from check_availability, e.g. comfort-double. | |
| children | No | Number of children, 0 to 6. | |
| language | No | Language of texts and links: de, nl, en. Default de. | de |
| departure | Yes | Departure date, YYYY-MM-DD, after the arrival. | |
| room_type | No | Room type code from booking_options, e.g. DZC. Give room_id, room_type or both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success; false with code and message on an error. | |
| code | No | Error code when ok is false, e.g. VALIDATION, NOT_FOUND, UNAVAILABLE. | |
| message | No | Readable error message when ok is false. |