get_checkout_link
Generate a single-use checkout link for a cart so a customer can claim it within 30 minutes and finish payment on the store site without placing the order or collecting payment details.
Instructions
Get a single-use checkout link for one of your carts. A person opens it in a browser within 30 minutes; the cart becomes theirs and they complete checkout and payment on the store site. This tool never places an order or takes payment details.
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>"
},
"name": "get_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes | The cart handle, from `create_cart`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes | The cart handle the link hands off. | |
| expires_at | Yes | When the link stops working, as an RFC 3339 timestamp. | |
| checkout_url | Yes | The single-use claim URL to open in a browser. |