set_site_payments_mode
Choose how a site takes payments destructive
Description
mode hermoso: the site takes payments through Hermoso Payments (no Stripe setup; the products in its hermoso.json payments.prices are reviewed, a cheap billed review). mode own: the owner's own Stripe (site secret STRIPE_SECRET_KEY). The site's fetch('/_hermoso/checkout', {method:'POST', body: JSON.stringify({price})}) works in both, unchanged.
Parameters
| Parameter | Type | Description |
|---|---|---|
namerequired | string | the page name, which is its address: spring-sale is served at https://spring-sale.hermoso.page |
moderequired | "hermoso" | "own" |
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/set_site_payments_mode.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_site_payments_mode","arguments":{"name":"<string>","mode":"<one of the listed values>"}}}
CLI
hermoso call set_site_payments_mode --json '{"name":"<string>","mode":"<one of the listed values>"}'
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
payouts_statusHermoso Payments payoutsrefund_site_paymentRefund a site paymentget_site_paymentOne site paymentlist_site_paymentsList site paymentspayments_statusHermoso Payments statusstart_payments_onboardingSet up Hermoso Paymentsconnect_page_to_search_consolePut a project on Google Search Consoleaudit_pageSEO audit of a projectcreate_review_linkMake a review linkset_page_accessMake a project private