Skip to content

schedule_migration_batch

Confirm a billing batch. Moves billing; needs the owner’s yes.

Authentication required

Endpoint

endpoint
https://business.sessions.website/@<handle>/api/mcp

When to use it

  • Only after showing the owner the batch (dates, memberships, amount) and getting their explicit yes.

Parameters

batchstringrequired

The batch id (migration_status).

ownerConfirmedbooleanrequired

true only after the owner explicitly approved scheduling this batch.

Returns

The migration status with the batch scheduled. Without ownerConfirmed: true it schedules nothing and says why. Old autopay is cancelled by the owner in the dashboard, never by this tool.

Example

POST this to the endpoint above.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "schedule_migration_batch",
    "arguments": {
      "batch": "<batch id>",
      "ownerConfirmed": true
    }
  }
}
content
Batch scheduled.
- Batch 1 [<id>] · scheduled · bills 2026-12-10 → 2026-12-24

What the agent is told

The description the model reads when deciding whether to call this. It is the only thing that decides whether the tool fires at the right moment, so it is worth knowing what it says.

schedule_migration_batch
MOVES BILLING. Confirms a draft batch, so its memberships can start billing on Sessions on each member’s own bill date once their old autopay is cancelled (the owner does that in the dashboard). Before calling, show the owner the batch (dates, memberships, amount) and that members get a "Your membership is moving" email, and get their explicit yes; then pass ownerConfirmed: true. Never call it on your own initiative.

See also