create_payment_link
THE way to book with Event Escapes. Works exactly like our WhatsApp bookings: you (the agent) give us the customer's details and the exact items, we lock LIVE prices in a cart and return a SECURE STRIPE PAYMENT URL for that exact total, which the customer pays. Before calling, collect from the customer and pass: (1) customer_email, confirmed letter-perfect; (2) customer_first_name and customer_last_name of the lead traveller; (3) customer_consent, the customer's own words asking you to book these items; (4) items: for a hotel the hotel_id from search_hotels_near_event with check_in, check_out and adults; for tickets the event_id from search_events with quantity; for an experience the activity_code from search_experiences with activity_date (experiences currently come back as a secure site link for the customer to complete, hotels and tickets are booked here). Never invent dates, guest counts or emails. If the result status is action_required, read the message, collect what it asks for (a ticket category, a price change to confirm, or for SOME SE365 tickets per-attendee passport or date of birth, which the tool names exactly), and call again with the same items plus the extra fields. Items accumulate in that customer's cart for 90 minutes across calls, and the payment URL covers everything in it, so a second call with a new item returns one link for the whole trip. Nothing is charged until the customer pays the URL, and the card is only captured once every booking is confirmed. Event Escapes is the merchant of record. The payment URL expires in about 30 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | What to book, in order. Each item is one hotel room, one ticket line, or one experience. | |
| promo_code | No | Promo code only if the customer gave one, exactly as typed. | |
| attendee_names | No | EVENT tickets for more than one attendee: comma-separated full names. The tool tells you if needed. | |
| customer_email | Yes | Customer's email, confirmed back to them letter-perfect. Receipt and confirmations go here. | |
| customer_phone | No | Customer's mobile in E.164 (+61..., +1...), if known. | |
| accept_new_price | No | true only after the tool reported a price change AND the customer agreed to the new total. | |
| attendee_details | No | Only when the tool asks: one entry per attendee separated by ';', e.g. 'name=John Smith, dob=1985-03-04, passport=N1234567, nationality=Australia'. Include only the fields the tool asked for. | |
| customer_consent | Yes | REQUIRED. The customer's own words asking you to book these items (e.g. 'yes book the Marriott and 2 tickets'). | |
| residency_country | No | Customer's country of residence, if stated (hotel prices vary by residency). | |
| customer_last_name | Yes | Lead traveller's last name. | |
| customer_first_name | Yes | Lead traveller's first name. | |
| details_confirm_quote | No | Required when attendee_details carries passport or date of birth: the customer's confirmation after you read the details back and warned they cannot be changed. |