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 500+ apps. Or write custom code to integrate any app or API in seconds.

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://${auths.payhere.environment}.payhere.co/api/v1/user`,
  headers: {
    Authorization: `Bearer ${auths.payhere.api_key}`,
  },
})

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.