# Payhip

Payhip is an e-commerce platform that enables individuals and businesses to sell digital products, memberships, and physical goods directly to their audience.

- **Category:** ecommerce
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 9
- **Triggers:** 0
- **Slug:** `PAYHIP`
- **Version:** 20260506_00

## Tools

### Create Coupon

**Slug:** `PAYHIP_CREATE_COUPON`

Tool to create a coupon for discounts in Payhip. Use when you need to create a new coupon code with either percentage or fixed amount discounts. Coupons can apply to single products, all products, or collections.

### Delete Coupon

**Slug:** `PAYHIP_DELETE_COUPON`

Tool to delete a coupon by ID. Use when you need to remove a coupon from the Payhip account. Only available in v1 API.

### Get Coupon

**Slug:** `PAYHIP_GET_COUPON`

Tool to retrieve a coupon with the given ID. Use when you need to fetch details about a specific coupon from Payhip.

### Update Coupon

**Slug:** `PAYHIP_UPDATE_COUPON`

Tool to edit an existing coupon in Payhip. Use when you need to modify coupon details like code, percentage, expiry, or usage limit. Only available in v1 API.

### Verify Coupon

**Slug:** `PAYHIP_VERIFY_COUPON`

Tool to verify a Payhip coupon code. Use when you need to check if a coupon code is valid and retrieve its details. Only available in v1 API.

### Webhook Event - Paid

**Slug:** `PAYHIP_WEBHOOK_EVENT_PAID`

Tool to process Payhip's paid webhook event. Use when handling a purchase completion webhook from Payhip.

### Webhook Event - Refunded Payment

**Slug:** `PAYHIP_WEBHOOK_EVENT_REFUNDED`

Tool to process Payhip's refunded webhook event. Use when handling a payment refund event from Payhip.

### Webhook Event - Subscription Created

**Slug:** `PAYHIP_WEBHOOK_EVENT_SUBSCRIPTION_CREATED`

Tool to process Payhip's subscription.created webhook event. Use when handling a subscription start event from Payhip.

### Webhook Event - Subscription Deleted

**Slug:** `PAYHIP_WEBHOOK_EVENT_SUBSCRIPTION_DELETED`

Tool to process Payhip's 'subscription.deleted' webhook event. Use when handling a subscription cancellation event from Payhip.
