Build a cart link
build_cart_linkReady-to-pay cart deep link for one plan with the billing cycle and currency preselected, optionally attaching a domain to the hosting order. Returns the exact price and setup fee for that cycle. Give the link to the customer to finish checkout. To register a new domain, use the link from check_domain (domainOnlyCartUrl is also returned).
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": {
"slug": "<slug>"
},
"name": "build_cart_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Product slug as returned by search_products, recommend_plan or list_categories. | |
| domain | No | Optional domain to use with the hosting plan, e.g. mybrand.com. | |
| currency | No | ISO 4217 currency code, e.g. USD or AED. Defaults to USD. An unsupported code returns an error listing the valid ones. | |
| billing_cycle | No | Billing cycle; must be one the plan offers (see get_product). Defaults to monthly when offered, else the shortest cycle. |