Payhip is an e-commerce platform that enables individuals and businesses to sell digital products, memberships, and physical goods directly to their audience.
Payhip is an e-commerce platform that enables individuals and businesses to sell digital products, memberships, and physical goods directly to their audience. On Nagent, Payhip is exposed as a fully-configurable ecommerce integration that any agent can call — 9 actions, and API key authentication. No code is required to wire Payhip into your workflow — connect it once via the External Integrations panel and reuse it across every agent you build.
Agent builders use Payhip to automate the kinds of tasks ecommerce teams previously handled manually. Concrete examples — each one is a single agent step in Nagent — include:
Every action and trigger is paired with a structured input/output schema (visible in the sections below), so when you wire Payhip into Helix — our agentic agent builder — the editor knows exactly what each step expects and produces. Configure once, deploy anywhere across your Nagent agents.
Every operation an agent can call against Payhip, with input parameters and output schema. Drop these into any step of an agent built in Helix.
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.
Input parameters
The coupon code the customer is required to enter at checkout
For administrative purposes you can remind yourself why you created this coupon by adding a note - not visible to customers
A positive integer representing the amount to subtract from the cart total in cents. For example $5 off would be 500. Required if percent_off is not provided. Cannot be used together with percent_off.
Specifies if the coupon will be applied for a single product, all your products or a single collection
A positive float larger than 0, and smaller or equal to 100, that represents the discount percentage the coupon will apply. Required if amount_off is not provided. Cannot be used together with amount_off.
The unique product key. Required if coupon_type is set to 'single'
The maximum number of times this coupon can be redeemed before it becomes invalid
The unique collection ID. Required if coupon_type is set to 'collection'
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
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.
Input parameters
The unique identifier for the coupon to delete.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
PAYHIP_GET_COUPONTool to retrieve a coupon with the given ID. Use when you need to fetch details about a specific coupon from Payhip.
Input parameters
Unique identifier for the coupon object
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
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.
Input parameters
The unique identifier for the coupon.
The code for the coupon.
The maximum limit for the coupon usage.
The expiry of the coupon in a timestamp format.
The percentage discount for the coupon.
The product ID if coupon is specific to a product.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
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.
Input parameters
The coupon code to verify.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
PAYHIP_WEBHOOK_EVENT_PAIDTool to process Payhip's paid webhook event. Use when handling a purchase completion webhook from Payhip.
Input parameters
Unique ID of the transaction
Unix timestamp when purchase occurred
Event type identifier
Customer's email address
List of items in the order
Total price in cents
Whether the purchase was a gift
Three-letter currency code
HMAC SHA-256 signature of the payload using your API key
Customer's IP address
Payhip fee in cents
Stripe fee in cents
Whether VAT was applied to the purchase
Payment method used
Whether customer has opted out of emails
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
PAYHIP_WEBHOOK_EVENT_REFUNDEDTool to process Payhip's refunded webhook event. Use when handling a payment refund event from Payhip.
Input parameters
Transaction ID
Event type identifier
Buyer email address
List of items included in the transaction
Original price in cents or pennies
Whether purchase was a gift
ISO 4217 currency code, e.g., USD
HMAC SHA-256 signature of the payload using your API key
IP address of the buyer
Payhip fee in cents
Stripe fee in cents
Whether VAT was applied
Unix timestamp when transaction was created
Payment method used, e.g., card
Unix timestamp when refund occurred
Amount refunded in cents or pennies
Whether buyer did not consent to marketing emails
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
PAYHIP_WEBHOOK_EVENT_SUBSCRIPTION_CREATEDTool to process Payhip's subscription.created webhook event. Use when handling a subscription start event from Payhip.
Input parameters
Event type identifier
Subscription status at creation; always 'active' for this event
Name of the subscription plan
HMAC SHA-256 signature of the payload using your API key
Unique identifier for the customer
Customer's GDPR consent status
Payhip product link identifier
Name of the product
Customer's email address
Unique identifier for the subscription
Customer's last name
Customer's first name
Unix timestamp when the subscription started
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
PAYHIP_WEBHOOK_EVENT_SUBSCRIPTION_DELETEDTool to process Payhip's 'subscription.deleted' webhook event. Use when handling a subscription cancellation event from Payhip.
Input parameters
Event type identifier
Current subscription status; always 'canceled' for this event
Name of the subscription plan
HMAC SHA-256 signature of the payload using your API key
Unique identifier for the customer
Whether the customer gave GDPR consent ('Yes' or 'No')
Payhip product link identifier
Name of the product
Customer's email address
Unique identifier for the subscription
Customer's last name
Customer's first name
Unix timestamp when subscription was canceled
Unix timestamp when subscription started
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
No publicly available marketplace agent is found using this tool yet. There are 35 agents privately built on Nagent that already use Payhip.
Build on Nagent
Connect Payhip to any Nagent agent in minutes — no API key management, no boilerplate. Just configure and deploy.
The five questions agent builders ask before adopting a new integration.
Open the External Integrations panel inside Nagent (app.nagent.ai/externalIntegration), find Payhip, and click "Connect Now." You'll authenticate with an API key — Nagent handles credential storage and refresh automatically. Once connected, Payhip is available to any agent in your workspace.
No. Nagent provides no-code integration for every tool. Once Payhip is connected, you configure its 9 actions directly in the agent builder UI — no API calls, no boilerplate, no schema management.
Helix — Nagent's agentic agent builder — lets you drop Payhip steps into any workflow visually. Pick an action (e.g., one of those listed above), fill in the inputs (Helix knows the required vs. optional schema for each parameter), and connect it to upstream/downstream steps. Triggers run as the entry point of an agent, so when a Payhip event fires, the agent kicks off automatically.
Every Payhip action and trigger ships with a fully-typed schema — input parameters with name, type, required flag, and description, plus the output payload shape. The schemas are documented in the sections above. Helix uses these schemas to validate your configuration at build time and to type-check the data flowing between steps.
Yes. While Payhip ships with 9 pre-built ecommerce actions, you can layer custom logic around them inside Helix — pre/post-processing steps, conditional branches, retries, or stitching Payhip together with other connected tools. For deeper customization, talk to our team about Nagent's Agentic AI Lab — forward-deployed engineers who build Payhip-based workflows tailored to your business.