
Payhip
Payhip powers sales of digital downloads, courses, memberships, and physical goods. Your AI agent processes purchase confirmations, refund events, and subscription lifecycle changes in real time. Buyers get instant answers about their orders, and your team focuses on creating instead of supporting.




Your AI agent processes Payhip webhook events for purchases, refunds, and subscriptions, turning transaction signals into immediate conversational responses.
Payhip
Payhip handles your sales. Your AI agent handles every customer question that follows, from order confirmations to subscription management.
A customer buys an ebook from your Payhip store at midnight. Your AI agent receives the paid webhook, confirms the transaction amount and items, and sends a personalized confirmation message with download instructions. The buyer gets immediate reassurance without waiting for a manual email. Fewer 'Did my payment go through?' support tickets.
A buyer requests a refund for a course they did not enjoy. Once processed, the agent receives Payhip's refund webhook, confirms the refund amount and original purchase date, and messages the customer with a timeline for the credit to appear. The buyer knows exactly when to expect their money back without reaching out to support.
A membership subscriber cancels their Silver Plan. Your AI agent processes the subscription.deleted event, identifies the customer, and initiates a retention conversation offering a discount or plan switch. Some subscribers reconsider when presented with alternatives. The ones who leave get a graceful exit with confirmation details.

Payhip
FAQs
The agent handles four webhook event types: paid (purchase completed), refunded (payment refunded), subscription.created (new subscription started), and subscription.deleted (subscription canceled). Each event carries detailed payload data including customer email, amounts, items, timestamps, and payment method.
Every Payhip webhook payload includes a signature field containing an HMAC-SHA256 hash generated with your API key. The agent validates this signature before processing any event, ensuring that only authentic Payhip events trigger actions. This prevents spoofed requests from affecting your workflow.
Yes. Payhip's paid webhook includes an is_gift boolean field. The agent can detect gift purchases and adjust its response accordingly, for example by sending delivery instructions to the gift recipient's email rather than the buyer's, or acknowledging the gift nature of the transaction.
The subscription.deleted event includes customer email, first and last name, plan name, product name, subscription ID, start date, deletion date, and GDPR consent status. The agent has full context to personalize retention offers or confirm cancellation details.
Yes. Purchase and refund events include vat_applied status, Payhip platform fees, Stripe processing fees, and the total price in the transaction currency. The agent can answer detailed billing questions like 'What fees were charged on my purchase?' with exact amounts.
In your Payhip Developer settings, create webhooks for each event type you want to process: paid, refunded, subscription.created, and subscription.deleted. Point each webhook to your Tars agent's endpoint URL. The agent will start receiving and processing events as they occur.
Tars processes webhook payloads in real time to generate responses. Transaction data is used within the conversation context and is not stored in a separate database. Conversation logs may contain details shared with customers, but raw Payhip payloads are not persisted independently.
Payhip sends transactional emails for purchases and refunds. Tars adds a conversational layer where the AI agent can respond to webhook events with personalized messages, answer follow-up questions, offer retention incentives on cancellation, and route complex issues to human support. It is interactive, not just informational.
Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security
At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.