# Hermoso: create_stripe_subscription · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/create_stripe_subscription/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Workspace & account](https://hermoso.ai/docs/reference/workspace/) / create_stripe_subscription

# `create_stripe_subscription`

create stripe subscription destructive

Area: Stripe, the full surface · [Workspace & account](https://hermoso.ai/docs/reference/workspace/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`customerId` required `string` customer id, cus_...

`priceId` required `string` recurring price id, price_...

`quantity` `number` quantity of the price, e.g. number of seats

`trialDays` `number` free trial length in days before the first charge

`metadata` `object` key/value metadata stored on the subscription

`confirm` `boolean` true 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](https://hermoso.ai/docs/credits/).

## Related tools

- [connect_connector](https://hermoso.ai/docs/reference/workspace/connect_connector/) Connect a paste-a-key account
- [create_stripe_customer](https://hermoso.ai/docs/reference/workspace/create_stripe_customer/) create stripe customer
- [cancel_stripe_subscription](https://hermoso.ai/docs/reference/workspace/cancel_stripe_subscription/) cancel stripe subscription
- [create_stripe_coupon](https://hermoso.ai/docs/reference/workspace/create_stripe_coupon/) create stripe coupon
- [refund_stripe_charge](https://hermoso.ai/docs/reference/workspace/refund_stripe_charge/) refund stripe charge
- [create_stripe_payment_link](https://hermoso.ai/docs/reference/workspace/create_stripe_payment_link/) create stripe payment link
- [create_stripe_price](https://hermoso.ai/docs/reference/workspace/create_stripe_price/) create stripe price
- [create_stripe_product](https://hermoso.ai/docs/reference/workspace/create_stripe_product/) create stripe product
- [list_stripe_coupons](https://hermoso.ai/docs/reference/workspace/list_stripe_coupons/) list stripe coupons
- [list_stripe_refunds](https://hermoso.ai/docs/reference/workspace/list_stripe_refunds/) list stripe refunds

[All 143 Workspace & account tools](https://hermoso.ai/docs/reference/workspace/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
