Payhip
Manage your Payhip store's coupon codes and check software license keys from an AI agent: list and read coupons, create new ones with your approval, verify a buyer's license key and, when you allow it, disable, re-enable or count its activations.
7 天免费 · 无需信用卡 · EU 托管
问 Payhip 任何事
通过 AnythingMCP 对 Payhip 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 PayhipClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 Payhip。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 Payhip
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
Payhip
This connector calls the Payhip API (https://payhip.com/api/v2) for your Payhip store: list, read and create coupon codes, and check and manage the software license keys of a product. Payhip's API covers only these two areas today: products, sales, customers and payouts are not available through it.
Setup (about 2 minutes)
- In Payhip open Settings > Developer and copy the API key into
PAYHIP_API_KEY. It is sent in thepayhip-api-keyheader and is needed for coupons. - Optional, for license keys: open the product in Payhip, tick Generate unique license keys if it is not on yet, and copy the product secret key shown below that checkbox into
PAYHIP_PRODUCT_SECRET_KEY. It is sent in theproduct-secret-keyheader. Each key belongs to one product: install the connector once per licensed product you want to manage, and give each install the product's name.
Safety: creating coupons and disabling, enabling or changing the usage count of license keys install switched off. A new coupon works at checkout immediately, and a disabled key locks the buyer out of the software, so confirm each change with the user. Refunds disable a key automatically.
Reading the data
- Coupon amounts (
amount_off,minimum_purchase_amount) are in cents;percent_offis a percentage.coupon_typeis single (one product,product_key), multi (all products) or collection (collection_id). - Dates are RFC 3339. A license key's
usesis the counter you raise and lower with the usage tools; Payhip does not enforce a limit, your software does. - Payhip's firewall challenges coupon calls from datacenter addresses, so the three coupon tools go out through AnythingMCP's outbound proxy where one is configured (as on AnythingMCP Cloud); license calls go direct. On a self-hosted server without
CONNECTOR_PROXY_URL, coupon calls may answer 403 with an HTML page. - Every answer wraps the result in
data. 401authentication_failmeans the API key or product secret key is wrong or missing.