# Payhip MCP for AI Agents AI Agent Connect

> Payhip MCP connects your digital storefront to your AI agent. It lets you manage license keys, create promo codes, and track customer data without jumping back and forth between tabs. It's built for people selling software, ebooks, or courses who need to handle the operational side of their business through a chat interface.

## Overview
- **Category:** industry-titans
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_fyxLv9OoizaM6yacpBswxtYrGqwGglQ69UkiZ5G7/ai-agent-connect
- **Tags:** digital-downloads, license-keys, coupons, membership-management, creator-economy

## Description

This Connector puts your Payhip store's backend directly into your AI client's reach. Instead of hunting through a dashboard to see if a customer's key is valid or manually creating dozens of discount codes for a flash sale, you just ask your agent to do it. You can pull customer details, check if a specific license is active, and update usage counts on the fly. It handles the heavy lifting of digital product orchestration, making it much easier to manage a growing catalog of downloads or memberships. If you're looking for a way to keep your business running without constant context switching, this is how you do it. You can find this and thousands of other integrations in the Vinkius catalog to keep your workflow tight.

## Tools

### get_customer_details
Fetch all the information associated with a specific customer. This helps you identify who bought what.

### get_product_details
Retrieve the specs and details for a specific digital product. This helps you see what's in your current catalog.

### list_coupons
See every coupon currently active in your Payhip store. This gives you a bird's eye view of your promotions.

### list_customers
Get a list of everyone who has purchased from your store. This is useful for managing your audience.

### list_products
View all the digital products currently for sale. This helps you audit your current inventory.

### update_license_usage
Increment or decrement the number of allowed activations for a key. Use this to enforce your software's seat limits.

### verify_license
Check if a specific software license key is valid and active. This prevents unauthorized use of your content.

### create_coupon
Create a new discount code with a specific amount and type. This helps you launch marketing campaigns quickly.

### disable_license
Turn off a license key for a customer. This is useful for handling refunds or security issues.

### enable_license
Reactivate a license key for a customer. This allows you to restore access to your digital product.

### get_coupon
Pull the specific details for a single coupon. Use this to check discount types and expiration dates.

## Prompt Examples

**Prompt:** 
```
Verify the license key 'LK-9921' for the Pro Plugin.
```

**Response:** 
```
I've checked that license key for you.

**Status:** Active
**Customer:** Sarah Jenkins
**Usage:** 2 of 5 allowed activations

Would you like me to increment the usage count for this key?
```

**Prompt:** 
```
Create a 15% discount coupon called WELCOME15.
```

**Response:** 
```
I've successfully created your new coupon.

*   **Code:** WELCOME15
*   **Discount:** 15% off
*   **Status:** Active

Is there anything else you'd like to set up for this promotion?
```

**Prompt:** 
```
Show me a list of all my active coupons.
```

**Response:** 
```
Here are the active coupons for your store:

| Code | Discount | Status |
| :--- | :--- | :--- |
| SUMMER30 | 30% Off | Active |
| WELCOME15 | 15% Off | Active |
| LAUNCH50 | 50% Off | Active |
```

## Capabilities

### Create promo codes
Generate new discount coupons with specific types and amounts.

### Validate license keys
Check if a software key is active and see its metadata.

### Toggle license status
Enable or disable specific keys for customers.

### Track usage counts
Update how many times a license has been activated.

### Fetch customer info
Pull specific data for any customer in your store.

### List store products
See your full catalog of digital downloads and courses.

### Manage coupons
View all existing coupons and their current status.

## Use Cases

### Refund Handling
A customer asks for a refund. You use disable_license to kill the key and get_customer_details to verify their account.

### Flash Sale Setup
You need a 20% off code for 2 hours. You use create_coupon to generate it and list_coupons to keep an eye on it.

### License Support
A user says their key won't work. You use verify_license to see if it's active and update_license_usage to see if they hit their limit.

### Inventory Audit
You need to see what's selling. You use list_products and list_customers to get a bird's eye view of your store.

## Benefits

- Stop manual data entry by using create_coupon to launch marketing campaigns instantly.
- Prevent piracy by using verify_license to check keys in real-time during support calls.
- Keep your records clean by using disable_license to revoke access after a refund.
- Monitor your growth by using list_customers to see who is buying your content.
- Control your software limits by using update_license_usage to track activations.
- Save time on research by using get_product_details to pull specs into your chat.

## How It Works

The bottom line is you get a dedicated operations assistant for your digital storefront.

1. Subscribe to the Payhip MCP on Vinkius.
2. Paste your Payhip API key into your client's configuration.
3. Start asking your agent to manage licenses or coupons.

## Frequently Asked Questions

**Can the Payhip MCP manage my software keys?**
Yes. You can use it to verify if a key is active, check its metadata, and toggle its status on or off.

**How do I use Payhip MCP to create discount codes?**
Just ask your agent to create a new coupon. You can specify the code name, the discount amount, and the type of discount.

**Can I use Payhip MCP to see my customer list?**
Yes. Your agent can pull a list of all customers who have purchased from your Payhip store for you.

**Does the Payhip MCP work with my existing store?**
It works with any Payhip store. You just need to provide your API key from your developer settings to connect it.

**Can Payhip MCP help me prevent software piracy?**
It helps by allowing you to verify licenses in real-time and quickly disable keys that are being misused or refunded.

**How do I update license counts with Payhip MCP?**
You can tell your agent to increment or decrement the usage count for a specific key to keep your seat limits accurate.

**Can my AI automatically find the details for a specific coupon by its ID?**
Yes! Use the `get_coupon` tool with the Coupon ID. Your agent will respond with complete metadata, including discount type, value, and usage limits in seconds.

**How do I find my Payhip API Key?**
Log in to your Payhip account, navigate to **Account** > **Settings** > **Developer**, and you will find your unique secret API key there.

**Does this work for physical products?**
The current MCP implementation focuses on coupon management and digital license verification. Physical product orchestration may be added as Payhip expands its API capabilities.