update_stripe_payment_link
update stripe payment link destructive
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 |
|---|---|---|
paymentLinkIdrequired | 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.
Related tools
connect_connectorConnect a paste-a-key accountlist_stripe_payment_linkslist stripe payment linksget_stripe_payment_link_revenuestripe payment link revenueupdate_stripe_promotion_codeupdate stripe promotion codecreate_stripe_promotion_codecreate stripe promotion codelist_stripe_promotion_codeslist stripe promotion codes