Payhere

Easy payment links

Go to site
Explore
/
Apps
/
Payhere

Payhere API Integrations

Build and run workflows using the Payhere API. Use 1000s of source-available triggers and actions across 1400+ apps. Or write custom code to integrate any app or API in seconds.

Overview

With the Payhere API, you can build a variety of powerful and user-friendly payment solutions. Whether you are creating an online store, accepting donations, taking payments for services, or creating a membership system, the Payhere API allows you to securely handle payment solutions without having to worry about any of the technical complexities that come with implementing payments.

Payhere provides a host of useful features, like:

  • Securely handle payments from most major credit cards and debit cards
  • Accept payments from bank transfers, PayPal, mobile money, and more
  • Stay up-to-date on the status of payments and customers with real-time notifications
  • Automate sorting and reconciling payments using the Payhere features

Below are a few examples of what you can build using the Payhere API:

  • Online stores with product and inventory management
  • Donation portals
  • Online ticketing systems
  • Billing platforms for services
  • Subscription systems for membership sites
  • Peer-to-peer (P2P) payments within an application
  • Marketplace payment solutions
  • Ecommerce payment processing
  • Mobile payment options for on-the-go payment options
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    payhere: {
      type: "app",
      app: "payhere",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.payhere.$auth.environment}.payhere.co/api/v1/user`,
      headers: {
        Authorization: `Bearer ${this.payhere.$auth.api_key}`,
      },
    })
  },
})

Choose an API to Connect with Payhere API

1
-
12
of
1400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Send Message (Advanced) with Discord Webhook API on New Webhook Event (Instant) from Payhere API
Payhere + Discord Webhook
 
Try it
Get Film with SWAPI - Star Wars API on New Webhook Event (Instant) from Payhere API
Payhere + SWAPI - Star Wars
 
Try it
Send any HTTP Request with HTTP / Webhook API on New Webhook Event (Instant) from Payhere API
Payhere + HTTP / Webhook
 
Try it
Create Image with OpenAI (ChatGPT) API on New Webhook Event (Instant) from Payhere API
Payhere + OpenAI (ChatGPT)
 
Try it
Search Issues and Pull Requests with GitHub API on New Webhook Event (Instant) from Payhere API
Payhere + GitHub
 
Try it
New Webhook Event (Instant) from the Payhere API

Emit new event for each new webhook event

 
Try it

Authentication

Payhere uses API keys for authentication. When you connect your Payhere account, Pipedream securely stores the keys so you can easily authenticate to Payhere APIs in both code and no-code steps.

You can find your API key in the integrations section of the merchants admin.

For environment, Payhere provides a sandbox site so you can easily test your integration without using your own money. See docs. If you aren't testing, use the production option.