startPayment
Return a hosted payment_url on this shop for the human to pay (Stripe / agent pay page). Puts utm_source/utm_medium=agent on the order. Write tool.
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_token": "<cart_token>"
},
"name": "startPayment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_token | Yes | Cart token from createCart. Required on every later cart call. | |
| agent_source | No | Optional label stored with the order. Leave empty to keep the default. | |
| utm_campaign | No | Optional campaign tag stored on the order. Leave empty unless one was named. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. The HTTP status stays 200. |