Create a checkout
create_checkoutCreates a checkout link for one product the customer has approved buying (customer_approved must be true). Returns an order_id and a link to the customer's order on buyopenshop.com, where they pay on Stripe's secure checkout page and enter their shipping address. Nothing is charged until the customer pays. With ship_to it also returns the sales tax and final total.
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": {
"sku": "<sku>",
"customer_approved": "<customer_approved>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | From the buy list a find tool returned | |
| ship_to | No | The US address the customer will ship to | |
| quantity | No | ||
| agent_name | No | ||
| customer_email | No | Prefills the checkout and the receipt | |
| customer_approved | Yes | The customer explicitly approved buying this |