v1
latestOpenAPI 3.0.02026-07-26190104.7 KBReservation quote
Create instant reservation based on quote
Create instant reservation based on quote to use the same data which the quote holds. Pre-SCA Stripe tokens (starting with tok_...) are NOT SUPPORTED. The API supports only Stripe SCA tokens (starting with pm_...).
❗ Important
Before using the Booking Engine (BE) API reservation endpoints, ensure your Guesty account is properly activated by following these steps:
- Activate Manual Source (skip this step if you already have direct reservations in Guesty account):
- Create a manual reservation directly in the Guesty UI. This step is required to activate the "Manual" booking source in your account.
- Activate BE API Source:
- Create your first reservation using the Booking Engine API endpoints.
- This step is essential to initialize the BE API source, which allows you to set up additional fees, taxes, auto payments and automated messages.
post/api/reservations/quotes/{quoteId}/instant
Path parameters
quoteIdstring required
Example:5d6e7a7ebf8e3800207735ae
ID of quote
Request body
Example request
{
"ratePlanId": "5bf544a600a9b000389f81d8",
"ccToken": "pm_1KTRn22eZvKYlo2CkHIARaGo",
"guest": {
"firstName": "Jhon",
"lastName": "Dou",
"email": "jhon.dou@guesty.com",
"phone": "380111111111",
"address": {
"street": "1000 5th Ave",
"city": "New York",
"country": "United State",
"countryCode": "US",
"zipCode": "10028",
"state": "New York"
}
},
"policy": {
"privacy": {
"version": 1
}
}
}Response
successful operation
Example response
{
"_id": "5d6e7a7ebf8e3800207735ae",
"confirmationCode": "4FDJO39DG33",
"createdAt": "11/7/2021, 3:57:29 PM"
}