HumanBlend developers

Plans and billing

People pay on Stripe's page. The API gives you the link.

A person who connects HumanBlend to Claude, ChatGPT or Zapier before they have a plan should reach a plan in one step. The API and the MCP server give them links. They never take card details, and plan changes and cancellations stay in the billing portal.

Call Scope What it returns
GET /plans read The monthly and annual plans with price, credits and limits, and whether this account can start the card trial
POST /checkout billing A Stripe Checkout link for this account, with the card trial when it is eligible
POST /billing/portal billing A Stripe customer portal link: card, invoices, plan change, cancel

In the MCP server the same three are the tools get_plans, start_plan and manage_billing.

What works without a plan

A key (or an assistant signed in) on an account with no plan can call GET /account, POST /estimate, GET /plans, POST /checkout and POST /billing/portal. Every other route answers 403 plan_required with a link, and GET /account carries plan_required: true and a plans_url. See Errors and limits.

The free run stays in the app. Without a plan, the API and MCP show the plans, the estimate and the trial link, not a free run.

Start a plan

curl https://api.humanblended.com/v1/checkout \
  -H "Authorization: Bearer $HUMANBLEND_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"plan": "pro", "interval": "month"}'
{ "object": "checkout", "url": "https://checkout.stripe.com/...", "expires_at": "2026-12-01T11:00:00Z", "trial": true }

Send the person to url. trial is true when this checkout starts the card trial. If the account already has a subscription, the answer is 409 plan_active: open the portal instead.

Billing portal

POST /billing/portal returns a Stripe customer portal link. It needs no Idempotency-Key. The link lasts 5 minutes (expires_at), so open it at once. 409 no_customer means the account never paid, so there is nothing to manage yet.