Confirm the booking
confirm_bookingDestructive
Confirms the summarised booking with its confirmation_token, which proves the customer saw that exact summary. Creates the reservation in the company's reservation system and returns the confirmation code (and a payment link when the company requires prepayment). An on-request booking comes back pending the company's confirmation and without a code yet.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language of the conversation, BCP-47 (es, en, pt-BR, fr, de, it…). Defaults to 'en'. Bota also answers in the language the customer writes. | |
| company_id | Yes | Rental company id. | |
| session_id | Yes | Booking session id returned by a previous call for this company (offers, selection, customer details). Omitted, a new session starts. | |
| confirmation_token | Yes | confirmation_token from the response that showed the booking summary. |