Payhip

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 上安装 Payhip
Payhip · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 Payhip。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 Payhip

Payhip 指南

面向主流 AI 客户端的逐步设置。

配置 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)

  1. In Payhip open Settings > Developer and copy the API key into PAYHIP_API_KEY. It is sent in the payhip-api-key header and is needed for coupons.
  2. 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 the product-secret-key header. 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_off is a percentage. coupon_type is single (one product, product_key), multi (all products) or collection (collection_id).
  • Dates are RFC 3339. A license key's uses is 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. 401 authentication_fail means the API key or product secret key is wrong or missing.

你的 AI 距离 Payhip 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。