get_stripe_payment_link_revenue
stripe payment link revenue read-only
Description
How much money the brand's Stripe PAYMENT LINKS made — the "what did the link in this ad earn" question. Paid purchases and revenue (MAJOR units, per currency) from completed checkouts between since and until (YYYY-MM-DD, default the last 30 days), for one paymentLinkId or every link. groupBy: link (default without an id — which link earned most), reference (default with an id — per ad, from the referenceId a taggedUrl carries), promotion_code, or day. For a subscription link only the first payment counts; renewals are in stripe_report. Says when the read is capped. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).
Parameters
| Parameter | Type | Description |
|---|---|---|
paymentLinkId | string | one payment link, plink_...; omit for every link |
since | string | start date, YYYY-MM-DD; default 30 days before until |
until | string | end date, YYYY-MM-DD; default today |
groupBy | "link" | "reference" | "promotion_code" | "day" | link, reference, promotion_code or day; default link without paymentLinkId, reference with it |
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/get_stripe_payment_link_revenue.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_stripe_payment_link_revenue","arguments":{}}}
CLI
hermoso call get_stripe_payment_link_revenue --json '{}'
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
stripe_reportStripe revenue reportconnect_connectorConnect a paste-a-key accountupdate_stripe_payment_linkupdate stripe payment linklist_stripe_payment_linkslist stripe payment linksupdate_stripe_promotion_codeupdate stripe promotion codecreate_stripe_promotion_codecreate stripe promotion codelist_stripe_promotion_codeslist stripe promotion codes