create_checkout
Prepare a stay for the guest to confirm and pay. It reserves NOTHING and books nothing: no nights are held, the host is not told, no e-mail is sent. It returns checkoutUrl, a link you must give to the guest; the GUEST opens it, checks the stay, agrees to the host's terms and pays. Until they do, anyone else can book those nights. The link expires after 24 hours. Never tell the guest they are booked, and never try to complete the booking for them. Quote first; contact details are optional and only pre-fill the form, which the guest can change. Limited to a few per hour per caller.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The place's slug – the last part of its page URL (posadita.com/p/{slug}), or from search_stays or /llms.txt. | |
| agent | No | Who is asking – your assistant's name. Only the host's statistics see it. | |
| guest | No | Optional – pre-fills the booking form. | |
| adults | Yes | Adults (at least one). | |
| locale | No | Language the guest reads. | |
| checkIn | Yes | Arrival, YYYY-MM-DD | |
| message | No | Optional note to the host, pre-filled; the guest can edit it. | |
| checkOut | Yes | Departure, YYYY-MM-DD | |
| children | No | Children, if any. |