Connect PayHere and News API to Build Intelligent Automations

Choose a Trigger

PayHere

When this happens...

Choose an Action

News API

Automatically do this!

Actions and Triggers

When this happensTriggers

A trigger is an event that starts a workflow.

Payment Received

Payment Received

Triggers when a payment is received.

Subscription Cancelled

Subscription Cancelled

Triggers when a user has cancelled their subscription, or Stripe has marked it as cancelled due to payment failures.

Request a new Trigger for PayHere

Do thisActions

Action is the task that follows automatically within your PayHere integrations.

Create a Plan

Create a Plan

Creates a new payment plan

Update Current Company

Update Current Company

Update the company information for currently authenticated user.

Issue a refund

Issue a refund

Issue a refund a customer the amount specified, can be a partial refund.

Top headlines Sources

Top headlines Sources

The subset of news publishers that top headlines are available from.

Request a new Action for PayHere

We'll help you get started

Our team is all set to help you!

Customer support expert avatarTechnical support expert avatarAutomation specialist expert avatarIntegration expert avatar

Frequently Asked Questions

How do I start an integration between PayHere and News API?

To start, connect both your PayHere and News API accounts to viaSocket. Once connected, you can set up a workflow where an event in PayHere triggers actions in News API (or vice versa).

Can we customize how data from PayHere is recorded in News API?

Absolutely. You can customize how PayHere data is recorded in News API. This includes choosing which data fields go into which fields of News API, setting up custom formats, and filtering out unwanted information.

How often does the data sync between PayHere and News API?

The data sync between PayHere and News API typically happens in real-time through instant triggers. And a maximum of 15 minutes in case of a scheduled trigger.

Can I filter or transform data before sending it from PayHere to News API?

Yes, viaSocket allows you to add custom logic or use built-in filters to modify data according to your needs.

Is it possible to add conditions to the integration between PayHere and News API?

Yes, you can set conditional logic to control the flow of data between PayHere and News API. For instance, you can specify that data should only be sent if certain conditions are met, or you can create if/else statements to manage different outcomes.

PayHere

About PayHere

PayHere is a comprehensive online payment gateway service that facilitates seamless and secure transactions for businesses and individuals in Sri Lanka. It supports multiple payment methods, including credit cards, mobile payments, and bank transfers, making it easier for users to manage their financial transactions online.

Learn More
News API

About News API

News API is a powerful tool that provides access to a wide range of news articles and headlines from various sources across the globe. It allows developers to integrate news data into their applications, enabling users to stay updated with the latest news in real-time.

Learn More