# Hermoso: update_stripe_payment_link · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/update_stripe_payment_link/. 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/) / update_stripe_payment_link

# `update_stripe_payment_link`

update stripe payment link destructive

Area: Stripe promotion codes, payment-link edits and revenue per l… · [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

Change a Stripe payment link (plink_…). active:false DEACTIVATES it — its URL then shows a "no longer available" page, in every ad that points at it — and ALWAYS needs confirm:true, test keys included; active:true reactivates it. allowPromotionCodes shows or hides the promotion-code box; afterCompletionUrl (redirect) or afterCompletionMessage (Stripe's confirmation page); inactiveMessage (up to 500 characters, shown while it is off); metadata. Read back. LIVE key: confirm:true after showing the preview. Needs Stripe connected (Connectors > Stripe, or connect_connector).

## Parameters

Parameter Type Description

`paymentLinkId` required `string` payment link id, plink_..., from list_stripe_payment_links

`active` `boolean` false deactivates the link; true reactivates it

`allowPromotionCodes` `boolean` true shows the promotion-code box at checkout; false hides it

`afterCompletionUrl` `string` URL the buyer is redirected to after paying

`afterCompletionMessage` `string` message shown on Stripe's confirmation page after paying

`inactiveMessage` `string` message shown while the link is off, up to 500 characters

`metadata` `object` key/value metadata to set on the link

`confirm` `boolean` true to deactivate the link, and to confirm a live-key write

## 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/update_stripe_payment_link`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_stripe_payment_link","arguments":{"paymentLinkId":"<string>"}}}`
**CLI**

`hermoso call update_stripe_payment_link --json '{"paymentLinkId":"<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
- [list_stripe_payment_links](https://hermoso.ai/docs/reference/workspace/list_stripe_payment_links/) list stripe payment links
- [get_stripe_payment_link_revenue](https://hermoso.ai/docs/reference/workspace/get_stripe_payment_link_revenue/) stripe payment link revenue
- [update_stripe_promotion_code](https://hermoso.ai/docs/reference/workspace/update_stripe_promotion_code/) update stripe promotion code
- [create_stripe_promotion_code](https://hermoso.ai/docs/reference/workspace/create_stripe_promotion_code/) create stripe promotion code
- [list_stripe_promotion_codes](https://hermoso.ai/docs/reference/workspace/list_stripe_promotion_codes/) list stripe promotion codes

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