Bestellen
checkoutCreate the order for a cart and return a payment_url (Stripe). The customer opens it, enters the delivery address and pays there (card, 3-D Secure). Nothing is charged before the customer confirms on that page. Ask the customer for their e-mail address first.
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": {
"cart_id": "<cart_id>",
"email": "<email>"
},
"name": "checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Customer e-mail for the order confirmation | ||
| phone | No | Customer mobile number (DE/AT/CH), only needed for send_payment_link_by_sms / _by_whatsapp | |
| cart_id | Yes | ||
| country | No | Delivery country, ISO code (default DE) | |
| send_payment_link_by_sms | No | Only if the customer asked for it: also send the payment link by SMS to phone. Paying still happens on the payment page. | |
| send_payment_link_by_email | No | Only if the customer asked for it: also send the payment link to the e-mail address | |
| send_payment_link_by_whatsapp | No | Only if the customer asked for it: also send the payment link by WhatsApp to phone. |