Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Current Company
PAYHERE_GET_CURRENT_COMPANYTool 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
PAYHERE_GET_CURRENT_COMPANY_STATSTool 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
PAYHERE_GET_USERTool to fetch information on the currently authenticated user. Use when you need to retrieve details about the logged-in user.
List Customers
PAYHERE_LIST_CUSTOMERSTool 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
PAYHERE_LIST_HOOKSTool 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
PAYHERE_LIST_PAYMENTSList Payhere payments in reverse chronological order to review payment history or check payment statuses. Results are paginated; choose a page and page size, up to 100 records per page.
List Plans
PAYHERE_LIST_PLANSTool to list all plans in your PayHere account. Use when you need to retrieve and paginate through available plans.
List subscriptions
PAYHERE_LIST_SUBSCRIPTIONSTool to list all subscriptions ordered chronologically by most recent payment first. Use when you need to retrieve subscription data with customer and plan details.