Manage Payhip Coupons and Check License Keys Through Your Muse
Through an AnythingMCP custom connector, your muse can list your Payhip store coupons, read their exact terms, and check whether a buyer's software license key is still valid.
What it does
Payhip is a storefront for digital products and software. Connected this way, the muse gets 8 tools covering the two areas the Payhip API exposes: coupons and license keys. It can list your coupons and read one in full: the code, what it covers, the percent or amount off, the dates, the minimum purchase, and the usage limit. For one configured product, it can verify a license key and report whether it is enabled, the buyer's email, the product and variant, its use count, and when it was issued.
How to use it
- In Payhip, open Settings, then Developer, and copy the API key.
- For licensed software, open the product, make sure unique license keys are on, and copy the product secret key shown there.
- Start an AnythingMCP workspace, install the Payhip connector, and paste in the API key and, if you have one, the product secret key.
- In Muse, open Settings, then Connectors, and add a custom connector with the address AnythingMCP gives you. Sign in and approve.
- Ask in plain words, for example: list our coupons, what discount each one gives, and which ones expire this month.
What you need
- A Muse account that can add custom connectors
- An AnythingMCP workspace, on Cloud or self-hosted
- A Payhip store, its API key, and a product secret key for license checks
What to watch for
- Creating a coupon, disabling or enabling a key, and changing a key's usage count all start switched off. An administrator turns on the ones you need. With a write tool on, the muse shows the code and discount, or the key and what will happen, and waits for your yes.
- One install checks the keys of one product, because the secret key belongs to that product. For several licensed products, install it once per product.
- An empty answer on a license check means the key does not exist for this product. Payhip disables a key on its own when its purchase is refunded.
- The API covers only coupons and license keys. Products, sales, customers, and payouts are not available through it, and the muse cannot issue refunds or new keys.
- This is a custom connector, and Meta does not review custom connectors. You can disconnect it in Settings at any time. The muse prepares, you decide.