Create a client-authorised Stripe checkout session
create_checkout_sessionCreates a temporary booking hold and Stripe Checkout session; it does NOT confirm an appointment. Invoke only after request_client_consent has sent the client an email, the client has opened the confirmation page, reviewed the exact booking details, rules and privacy notice, and personally confirmed. The client must provide the resulting one-time consentToken. The token is short-lived, bound to the exact booking details and consumed once. Collect no clinical history or reason for therapy. The client enters payment details directly on Stripe; never ask for card data. Reuse the same requestId for retries of the same attempt. Enabled only when the deployment has an explicitly configured Preview test gate or Production live-booking gate. Preview test bookings are marked [TEST]; Production requires explicit live-mode acknowledgement and a Stripe live key. After payment, call get_agent_booking_status and confirm only when paid=true AND confirmed=true.
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": {
"name": "<name>",
"email": "<email>",
"date": "<date>",
"time": "<time>",
"consultationLanguage": "<consultationLanguage>",
"consentToken": "<consentToken>",
"requestId": "<requestId>"
},
"name": "create_checkout_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| name | Yes | ||
| time | Yes | ||
| Yes | |||
| phone | No | ||
| requestId | Yes | ||
| consentToken | Yes | ||
| interfaceLanguage | No | ||
| consultationLanguage | Yes |