Create checkout link
create_checkout_linkBuild a bringmethat.com checkout link for the customer's items. Opening checkout_url fills their cart and opens bringmethat.com checkout, where they review the total and pay. No account is required. Does not charge a card and does not place the order. Validates items and required options first and returns quote plus checkout_url, or the problems to fix with the customer. Optional customer_name, customer_email, and customer_phone prefill guest checkout. Never ask for a card number. Checkout is the item total plus a 10% markup, the restaurant's own service fee (none for partner restaurants; there is no flat service fee), tax, a $7 delivery fee ($0 for pickup) unless a Habitat or MealMe delivery quote replaces it, and an optional tip. Premium ($9.95/month or $96/year) waives the markup and the service fee, but not delivery, tax, or tip. The card is authorized for that total plus $15 when the total is over $30, otherwise plus 45%. Only the final amount is charged.
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": {
"restaurant_id": "<restaurant_id>",
"fulfillment": "<fulfillment>",
"items": "<items>"
},
"name": "create_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| fulfillment | Yes | ||
| customer_name | No | Customer name. Prefills guest checkout. Does not create an account. | |
| restaurant_id | Yes | ||
| customer_email | No | Email for the receipt. Prefills guest checkout. Use the same email with get_order_status. | |
| customer_phone | No | 10-digit US phone. Prefills guest checkout. | |
| delivery_address | No | Street address for delivery, e.g. '2415 N Ashland Ave, Chicago, IL 60614'. Prefills checkout. |