Prepare a checkout
prepare_checkoutStage checkout for an eligible available item; requires sign-in and actions:prepare. Returns intent, action_id, expires_at, provider, destination_url and consequence including the listed price for approval. On confirm, eligible Square/Shopify connections create a hosted checkout; other shops use a URL handoff. The provider collects payment.
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": {
"business_id": "<business_id>",
"offering_id": "<offering_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "prepare_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| business_id | Yes | ||
| offering_id | Yes | ||
| idempotency_key | Yes |