Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create Coupon
PAYHIP_CREATE_COUPONTool 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
PAYHIP_DELETE_COUPONTool 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
PAYHIP_GET_COUPONTool to retrieve a coupon with the given ID. Use when you need to fetch details about a specific coupon from Payhip.
Update Coupon
PAYHIP_UPDATE_COUPONTool 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
PAYHIP_VERIFY_COUPONTool 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
PAYHIP_WEBHOOK_EVENT_PAIDValidate and return a supplied Payhip paid webhook payload for a purchase completion event. The signature is not verified.
Webhook Event - Refunded Payment
PAYHIP_WEBHOOK_EVENT_REFUNDEDValidate and return a supplied Payhip refunded webhook payload for a payment refund event. The signature is not verified.
Webhook Event - Subscription Created
PAYHIP_WEBHOOK_EVENT_SUBSCRIPTION_CREATEDValidate and return a supplied Payhip subscription.created webhook payload for a subscription start event. The signature is not verified.
Webhook Event - Subscription Deleted
PAYHIP_WEBHOOK_EVENT_SUBSCRIPTION_DELETEDValidate and return a supplied Payhip subscription.deleted webhook payload for a subscription cancellation event. The signature is not verified.