Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
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.
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.