confirm_booking
Confirm the booking summarised by Bota. Pass the confirmation_token returned by the previous call (it 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).
Input 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 | Company id from list_rental_companies. | |
| session_id | Yes | Session id returned by a previous call for this company. Omit on the first call; ALWAYS pass it back on the next ones so Bota keeps the conversation (offers, selection, customer details). | |
| confirmation_token | Yes | confirmation_token from the response that showed the booking summary. |