Payhere

Easy payment links

Go to site
Explore
/
Apps
/
Payhere

Payhere API Integrations

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

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}`,
      },
    })
  },
})
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
Delete Record with Airtable API on New Webhook Event (Instant) from Payhere API
Payhere + Airtable
 
Try it
Send any HTTP Request with HTTP / Webhook API on New Webhook Event (Instant) from Payhere API
Payhere + HTTP / Webhook
 
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.