Create hotel payment link
sabre_hotel_card_linkCreates a one-time payment page for one rate. Inputs: the rate_key, rooms and adults (per room) from sabre_hotel_rates_coded, the guest's name as on their ID, and the expected_total and currency copied from that rate row. A phone number is optional. The guest's e-mail is required: the itinerary and the hotel's confirmation go there. A public connection that leaves it out uses the address it signed up with, and the payer confirms or changes it on the page; a chat signed in with a one-time sign-in link has no such default. Without an address no page is made. The page is open for about ten minutes from when it is created; if it closes before the card is submitted, nothing is booked or charged and a new page can be created for the same option. A rate_key priced for a different number of adults is refused before any page is created. The booking and payment page use the rate's own currency; converted figures are estimates. The page shows the room and beds, the price, deposit and cancellation terms; the guest accepts them and enters their card there, and the booking is made when they submit and the hotel confirms. Card details are entered only on that page; this tool takes none. loyalty_id is the guest's own number with the hotel's loyalty programme, not an advisor's number; it is filed on the booking. A rate found with loyalty_id in sabre_hotel_rates_coded carries that number and books only with the same loyalty_id; a members-only rate books only from a search made with the guest's number. Points and elite nights are credited as usual. Status benefits apply on top of the partner benefits. With children, family_mode=direct (the default) books the actual adults, children and child_ages using the chosen verified family rate_key and that row's family_quote_token. The occupancy is rechecked before booking; the rate's deposit, prepayment or non-refundable terms are offered through the normal payer-consent flow. Missing or unverified family occupancy needs Jay's help at jay@flybest.org, with hotel, dates, room/rate preference, adult count and children's ages. Only the traveller's explicit choice of family_mode=adult_pending uses an adults-only key with free cancellation and no deposit or prepayment; children and child_ages stay recorded for advisor follow-up, and that adult booking leaves the family unconfirmed. No automatic switch to adults only takes place. Sending an e-mail requires an explicit request. allow_deposit / allow_nonrefundable are accepted for compatibility and are not needed: the result states whether the rate may charge the card at booking, read from the rate's live terms when the page is created, and the page shows those terms for the guest's consent. These flags do not override adult_pending restrictions. Creating the page sends the guest and stay details to FlyBest's booking service and the reservation system; nothing is booked until the guest submits the page and the hotel confirms. For the same room, dates and currency, changed totals, deposits or cancellation penalties are displayed on the existing page for fresh agreement before continuing. A different room, date or currency needs a newly selected quote. A connection keeps up to three payment pages open: asking again for the same stay returns the page already open. At that limit, a new page closes that connection's oldest page with no payment in progress. If shared capacity is full, it may also close the oldest public page that has never been opened or submitted. Closing a page invalidates its previous payment link; pages with a payment in progress are never closed. Nothing is booked or charged by closing a page. The booking then appears in my_trips under the same sign-in; for a chat signed in with a one-time sign-in link, only in that chat.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hotel_code": "<hotel_code>",
"rate_key": "<rate_key>",
"check_in": "<check_in>",
"check_out": "<check_out>",
"given_name": "<given_name>",
"surname": "<surname>",
"expected_total": "<expected_total>",
"currency": "<currency>"
},
"name": "sabre_hotel_card_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Required: the guest's own e-mail address. Sabre's itinerary and the hotel's confirmation and any later change go there, so without it they never reach the guest. A public connection that leaves it out uses the address the connection signed up with (shown on the page, where the payer can change it); a chat signed in with a one-time sign-in link has no such default and is refused without it. | ||
| phone | No | ||
| rooms | No | Rooms in ONE segment, all for the same guest and the same room type and guest arrangement per room. Different arrangements need separate one-room quotes and links. The rate_key comes from sabre_hotel_rates_coded with the same rooms=N: a two-room key and a one-room key are entirely different keys and only the two-room one sells two rooms, and its total is already the whole stay. Rooms sold together share one segment and CANNOT be cancelled individually. Different room types cannot share a sell — for that, book the first room and then mint a second link with add_to_pnr set to the locator it returned. LIVE on production since 2026-09-11 (certified on CERT: one segment carrying NumberOfUnits=2). | |
| adults | No | Adults per room — the same number used in sabre_hotel_rates_coded for this rate_key (default 1). A rate_key priced for a different party is refused before any link is created. | |
| surname | Yes | ||
| check_in | Yes | YYYY-MM-DD | |
| children | No | Actual number of children in the party. direct books this occupancy; only explicit adult_pending retains them for advisor follow-up instead of booking them. | |
| currency | Yes | REQUIRED. The currency of expected_total, copied from the SAME rate row — the hotel's own currency, not a converted estimate. A changed currency requires a newly selected quote. | |
| rate_key | Yes | from sabre_hotel_rates_coded | |
| check_out | Yes | YYYY-MM-DD | |
| add_to_pnr | No | An EXISTING Sabre locator this room should JOIN instead of creating a new PNR. THIS is how one guest gets a king AND a suite on one record: Sabre refuses to put two room types in one sell, so book the first room normally, then mint a second link with this set to the locator it returned. Each segment keeps its OWN rate, its own deposit and its own cancellation policy, and they can be cancelled separately. Leave it out for an ordinary booking. | |
| chain_code | No | ||
| child_ages | No | Actual children's ages, matching the selected family quote. adult_pending retains them for advisor confirmation even though only the adults are initially booked. | |
| given_name | Yes | ||
| hotel_code | Yes | Sabre property code | |
| hotel_name | No | ||
| loyalty_id | No | the guest's own programme number with the hotel's chain (not an advisor ID), filed on the segment when the room is booked. A rate_key found by sabre_hotel_rates_coded WITH loyalty_id carries that number into the booking: pass the same number here (a different one is refused before anything is sent; none adopts the searched one), and a row marked members-only books only from a search made with the guest's number. | |
| family_mode | No | direct: book the actual adults and children from a rate verified for that party. adult_pending: only after the traveller explicitly chooses adults first, use an adults-only free-cancellation key with no deposit or prepayment and keep children/ages for advisor follow-up. | direct |
| allow_deposit | No | no longer needed (2026-10-15): the page shows the live deposit and its timing and the payer's tick authorises it; accepted for compatibility | |
| expected_total | Yes | the all-in total of the chosen rate row, e.g. 288.09 - for the same room, dates and currency, changed totals or cancellation terms are displayed on the existing page for the payer to agree again and continue. 80 and 80.00 represent the same amount. | |
| expected_deposit | No | the deposit figure from the rates row (deposit_amount) as shown to the payer, when known. A changed deposit is displayed on the existing page for fresh agreement before continuing; this input is not consent to a higher charge. | |
| family_quote_token | No | Opaque family quote proof copied unchanged from the SAME selected rate row as rate_key; tied to its real adults, children and ages. It is not interchangeable across rows or parties. | |
| allow_nonrefundable | No | no longer needed (2026-10-15): the page shows the live cancellation terms and the payer's tick authorises them; accepted for compatibility |