Payhere Integration
Connect Payhere to Arahi's no-code AI agents and automate workflows in minutes.
About the Payhere integration
Easy payment links With Arahi AI, you can connect Payhere to Chargebee, Chargify, Memberstack and 1,500+ other apps using AI-powered workflows. No coding required — set up triggers, actions, and intelligent automation in minutes.
- Category
- Payments & Billing
- Authentication
- keys
Payhere automation use cases
- Failed-payment recovery
- Launch a winback email + retry sequence the moment a Payhere charge fails — before the customer churns.
- Subscription change → CRM
- Sync upgrades, downgrades, and cancellations from Payhere to the CRM for rep visibility.
- Revenue alerts to Slack
- Post new-MRR and churn events from Payhere to a revenue channel as they happen.
- Invoice → accounting
- Push Payhere invoices to QuickBooks or Xero with line items, taxes, and customer IDs mapped.
Payhere workflow examples
- Create Payhere links from HubSpot quotes
Let reps send a pay link within seconds of a verbal yes by calling Create Plan in Payhere when a HubSpot quote is accepted and writing the link back onto the deal record.
When a HubSpot quote is accepted, call Create Plan in Payhere for the quote.
- Sync Payhere customers to Google Sheets
Feed a simple AR tracker by running List Customers on a schedule and upserting every Payhere customer into a Google Sheet with name, email, plan, status, and lifetime paid amount.
Each morning, run List Customers in Payhere and upsert to Google Sheets.
- Notify Slack when Payhere payments succeed
Keep the team motivated by using List Payments and posting every successful Payhere transaction into a Slack revenue channel with amount, customer, and product or plan description.
When List Payments shows a success, post the amount to a Slack channel.
Payhere actions
- Create Hook
- Tool to subscribe to a REST hook for receiving webhook events. Use when you need to register a webhook endpoint to receive real-time notifications for payment_received, subscription_cancelled, or subscription_created events.
- Create Plan
- Tool to create a new payment plan in PayHere. Use when you need to set up either a recurring subscription or one-off payment plan for accepting payments.
- Delete Hook
- Tool to remove a REST hook listener subscription. Use when you need to stop receiving webhook events for a specific hook.
- Get Current Company
- Tool to fetch company information for the currently authenticated user. Use when you need to retrieve comprehensive company details including identity, configuration, integration status, and associated users.
- Get Current Company Stats
- Tool to fetch payment statistics for the last 30 days with comparison data from the preceding 30-day period (30-60 days ago). Use when you need to analyze recent payment trends, subscriber growth, or compare current performance against the previous month.
- Get User
- Tool to fetch information on the currently authenticated user. Use when you need to retrieve details about the logged-in user.
- List Customers
- Tool to list all customers from Payhere, ordered chronologically with most recent first. Use when you need to retrieve customer records, browse customers, or access customer information. Supports pagination via page and per_page parameters.
- List REST Hooks
- Tool to list all active REST hooks subscriptions for the authenticated company. Use when you need to view all currently registered webhook listeners for your PayHere account.
- List Payments
- Tool to list all payments ordered chronologically, most recent first. Use when you need to retrieve payment history or check payment statuses. Supports pagination with page and per_page parameters.
- List Plans
- Tool to list all plans in your PayHere account. Use when you need to retrieve and paginate through available plans.
- List subscriptions
- Tool to list all subscriptions ordered chronologically by most recent payment first. Use when you need to retrieve subscription data with customer and plan details.
- Update Current Company
- Tool to update the company information for the currently authenticated user. Use when modifying company details such as name, legal name, address, logo, support email, website, or branding preferences (button color and text color).
- Update Plan
- Tool to update an existing plan's configuration and settings. Use when you need to modify plan properties like name, description, pricing, or other settings for both one-off and subscription plans.