Prepare guest service checkout
prepare_guest_service_checkoutUse this to book for a customer who is not signed in to Homejourney here, such as on the public connector; it needs no Homejourney account. A user signed in on this connector books for themselves with create_service_booking instead. After the customer confirms the selected provider package, the exact price, schedule, address, customer-provided email and mobile number, and contact consent, it returns one branded Homejourney review-and-authorization link. No OTP is required. The customer saves a card there for the exact booking, or chooses PayNow. Tell the customer: "Nothing is charged or held now. We charge your card, or send a PayNow request, after the job is done." The booking appears in the Homejourney account of the customer once they sign in with the same verified email or WhatsApp number. When someone else lets the technician in, such as a tenant, add them as onsite_contact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | The AI app making this call, such as chatgpt or claude. It records where the request came from; it is not the listing owner or agent. | |
| extras | No | Optional extras from the quote's availableExtras, each id once with a quantity up to its maxQuantity. Each is charged at the operator's price and leaves the visit's length and start as quoted. | |
| confirmed | Yes | ||
| base_price | No | ||
| provider_id | No | The chosen package's providerId from search_services. | |
| total_price | No | ||
| consent_text | No | ||
| price_source | Yes | The chosen package's priceSource from search_services. | |
| service_type | Yes | ||
| customer_info | Yes | ||
| property_size | No | Home size, for an offering priced by home size. A quote without it names the sizes the provider prices. | |
| onsite_contact | No | Optional. The person at the address who lets the technician in when the customer won't be there, such as a landlord's tenant. Only the business assigned to the job sees it, until the job closes; the customer still gets every update and the charge. Send it only after the customer confirms that person agreed to be contacted. | |
| scheduled_date | Yes | ||
| singapore_time | Yes | Exact customer-selected Singapore start time in 24-hour HH:mm format. Do not send a time range. | |
| discount_amount | No | ||
| idempotency_key | Yes | ||
| number_of_hours | No | Hours booked, for an offering priced per hour. The provider may charge a minimum number of hours. | |
| number_of_units | No | ||
| service_details | Yes | The chosen package's serviceId from search_services, such as leak-repair. Put the customer's own words in issue_description. | |
| host_reference_id | No | ||
| issue_description | No | ||
| service_frequency | No | one-time | |
| catalog_version_id | Yes | The chosen package's catalogVersionId from search_services. | |
| consent_to_contact | Yes | ||
| platform_unit_count | No | Retired: Homejourney no longer offers its own catalog prices, so a launch_guide selection is refused. Leave it out. | |
| provider_package_id | No | The chosen package's providerPackageId from search_services. | |
| special_instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |