hermosodocs

create_stripe_subscription

create stripe subscription destructive

Area: Stripe, the full surface · Workspace & account. Generated from the running MCP server, like the rest of the tool reference.

Description

Subscribe a Stripe customer (cus_…) to a price (price_…), optional quantity and trialDays. THIS CHARGES THE CUSTOMER'S SAVED PAYMENT METHOD when there is no trial, so it ALWAYS needs confirm:true (test keys included) after you show the user exactly what will be created. Read back; an INCOMPLETE status means no chargeable card is on file. Needs Stripe connected (Connectors > Stripe, or connect_connector).

Parameters

ParameterTypeDescription
customerIdrequiredstringcustomer id, cus_...
priceIdrequiredstringrecurring price id, price_...
quantitynumberquantity of the price, e.g. number of seats
trialDaysnumberfree trial length in days before the first charge
metadataobjectkey/value metadata stored on the subscription
confirmbooleantrue to charge the saved card; always required, test keys included

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/create_stripe_subscription.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_stripe_subscription","arguments":{"customerId":"<string>","priceId":"<string>"}}}

CLI

hermoso call create_stripe_subscription --json '{"customerId":"<string>","priceId":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 143 Workspace & account tools · tools.json