Skip to content
Notis

Clean up Payhere hooks when a process retires

A defined cleanup request can help keep event subscriptions aligned with the processes you still use.

Trigger

Webhook received

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

Action

Delete Hook

Tool to remove a REST hook listener subscription. Use when you need to stop receiving webhook events for a specific hook.

Why this helps

Old notification hooks are easy to leave behind when an offer or internal process is retired.

  • Connect an intentional cleanup request to hook removal.
  • Keep active notification subscriptions aligned with current workflows.
  • Reduce loose ends after retiring a process.

Setup

Build it in a few focused steps.

  • 1Connect Mem and Payhere to Notis once in the portal.
  • 2Create a prompt asking Notis to remove the specific retired Payhere hook described in the request.
  • 3Select an incoming webhook trigger and configure the approved cleanup signal from your backend.
  • 4Choose a run report channel and test with one real cleanup example.

Questions about this workflow

Will it remove every Payhere hook?

The instruction should identify the specific hook to remove; the action removes a REST hook listener subscription.

What sends the cleanup signal?

Your external tool or custom backend sends an HTTP request to the Notis webhook trigger.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Mem to Payhere. A trigger fires from one place; an action lands in another.

Mem triggers

Payhere actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

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.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

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.

ActionInstant

Delete Hook

Tool to remove a REST hook listener subscription. Use when you need to stop receiving webhook events for a specific hook.

ActionInstant

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.

ActionInstant

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.

ActionInstant

Get User

Tool to fetch information on the currently authenticated user. Use when you need to retrieve details about the logged-in user.

ActionInstant

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.

ActionInstant

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.

ActionInstant

Connect any two apps with Notis in the middle.

Mem and Payhere, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Payhere.