Prepare a stay for the guest to confirm and pay — returns a link, reserves nothing

post/api/public/v1/p/{slug}/checkouts

Request

  • Base URL: https://posadita.com
  • URL: https://posadita.com/api/public/v1/p/{slug}/checkouts
  • Auth: none declared

Path parameters

slugstring required

The place's slug, from its page URL (/p/{slug}) or from /llms.txt.

Request body

checkInstring date required
checkOutstring date required
adultsinteger required
childreninteger
messagestring

Optional note to the host, pre-filled.

localestring
agentstring

Who is asking, e.g. the assistant's name. Shown to nobody but the host's statistics.

Response

Send checkoutUrl to the guest.

checkoutUrlstring uri
expiresAtstring date-time
nextstring

Changes

No recorded changes to this operation across all 1 revision of this API.