create_membership_checkout
Create a hosted recurring subscription checkout after the customer approves the chosen plan and billing cycle. Requires OAuth scope memberships:write.
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": {
"plan_id": "<plan_id>",
"cycle": "<cycle>",
"approved": "<approved>",
"idempotency_key": "<idempotency_key>"
},
"name": "create_membership_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cycle | Yes | ||
| plan_id | Yes | ||
| approved | Yes | ||
| idempotency_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |