Skip to main content
Glama

Attach a plan

attach_plan
Destructive

MUTATES Autumn billing data — attaches (subscribes) a plan to a customer; may create an invoice / return a payment URL. Autumn API: POST /v1/billing.attach. Returns { customer_id, invoice, payment_url, required_action }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plan_idYesThe ID of the plan.
versionNoThe version of the plan to attach.
customizeNoOptional plan overrides (price, items, licenses, free trial).
entity_idNoThe ID of the entity to attach the plan to.
customer_idYesThe ID of the customer to attach the plan to.
success_urlNoURL to redirect to after a successful checkout.
invoice_modeNoInvoice-mode configuration object (send an invoice instead of auto-charging).
redirect_modeNoCheckout redirect mode: always, if_required, or never.
feature_quantitiesNoPrepaid feature quantities: array of { feature_id, quantity?, adjustable? }.
checkout_session_paramsNoExtra Stripe checkout session params (can carry metadata).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.