createCheckout
Create a PayPal Checkout order in USD and return the hosted PayPal approve URL. productId accepts id OR slug. Optional shipToCountry for soft shipping estimate (finalized on PayPal). NO cart. Display: MCP App Pay here → host card → messageToHuman. Wait ~60s then poll getOrderStatus every 60s. Prefer quickCheckout when the human only named a device.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "createCheckout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Product slug — alias for productId | |
| quantity | No | ||
| productId | No | Product id or slug (required unless slug is set) | |
| shipToCountry | No | ISO country for soft shipping estimate |