Remove payments
remove_paymentsTake payments away from a project: the app can start no new checkout and restarts without its six Stripe variables, its queued Stripe events are dropped, and its webhook path needs sign-in again. A buyer already on a Stripe checkout page can still pay for up to 24 hours, and that order's event no longer reaches the app, so the owner sees it only in their Stripe Dashboard. Payments, customers, and products stay in the owner's Stripe account, and the owner's Stripe connection stays for their other apps. Even when the user asked for it, first reply saying the app stops taking payments, ask them to confirm, and stop; call with confirm: true only after they answer yes. On a team, only a team admin can remove payments. A protected project refuses it: relay the refusal.
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": {
"project_id": "<project_id>"
},
"name": "remove_payments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true only after the user agreed: the app stops taking payments | |
| project_id | Yes | the id of the project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| mode | No | ||
| note | Yes | ||
| status | Yes | ||
| project_id | Yes | ||
| connect_url | No | ||
| webhook_path | No |