Approve a membership upgrade
approve_membership_requestApproves one open membership upgrade request and charges the shared wallet the prorated upgrade, through the same plan charge as a direct upgrade. Every client charges nothing until confirm is true. The preview includes this wording, and confirming records it for a consumer account: Start now. I understand I lose my right to cancel once the service is fully provided, and I pay for what I use if I cancel earlier. idempotency_key repeats the same result instead of charging again. Only an account admin can approve.
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": {
"request_id": "<request_id>"
},
"name": "approve_membership_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Omitted returns a preview on every client. True charges. | |
| request_id | Yes | ||
| idempotency_key | No | Repeats the same result instead of charging again. |