Create payment link
purchase_linkCreates the one Stripe Checkout link that pays for a domain registration and saves the card of the customer, so every later purchase can happen inside this conversation. This is the only time the user leaves the chat - give them the returned URL. Reach for this only after they have asked to publish. A refused or unchecked domain ending carries reason and a plain reason_text: unsupported or price_unavailable mean we do not sell that ending right now; lookup_failed or cap_reached mean it was NOT checked, so search again, and never tell the customer we do not sell it.
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": {
"domain": "<domain>"
},
"name": "purchase_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The full domain to buy, e.g. example.com. |