hermosodocs

get_stripe_payment_link_revenue

stripe payment link revenue read-only

Area: Stripe promotion codes, payment-link edits and revenue per l… · Workspace & account. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
paymentLinkIdstringone payment link, plink_...; omit for every link
sincestringstart date, YYYY-MM-DD; default 30 days before until
untilstringend 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.

All 143 Workspace & account tools · tools.json