Developers

Developers

  • Docs
  • Help
  • Blog

›Overview

Overview

  • Getting Started
  • Testing

Integrations

  • Simple link
  • Simple embed
  • React SDK
  • Embed SDK
  • Webhooks
  • REST Hooks
  • Wix Embed SDK

API

  • Authentication

/api

    /v1/current_company

    • GET /
    • PUT /
    • GET /stats

    /v1/customers

    • GET /
    • GET /:id

    /v1/payments

    • GET /
    • GET /:id

    /v1/plans

    • GET /
    • POST /
    • PUT /:id

    /v1/refunds

    • POST /

    /v1/subscriptions

    • GET /
    • GET /:id
    • DELETE /:id

    /v1/user

    • GET /

Getting Started

Payhere makes it simple to integrate with your existing service. We are always improving our integrations, so keep an eye out here for changes.

Simple link

The most basic way to get started with Payhere is by emailing your customers a link to a payment form, or setting up a link on your website.

Read more

Simple embed

Our simple embed is the next level up, but it still only requires two lines of code

<button data-payhere-embed="https://app.payhere.co/altlabs/coffee">Payhere</button>
<script src="https://payhere.co/embed/embed.js"></script>

Using with React

We have a react plugin available, we think it’s the easiest way to collect one-off and recurring payments using React.

<Payhere
  selector="#payhere-modal"
  embedURL={"https://app.payhere.co/altlabs/coffee"}
  open={true}
  onSuccess={() => {}}
  onFailure={() => {}}
  onClose={() => {}}
/>

Read more

JavaScript Embed SDK

Our JavaScript embed SDK allows advanced integrations in all frameworks.

Payhere.launch({
  embedURL: "https://app.payhere.co/altlabs/coffee",
  onSuccess: () => {},
  onFailure: () => {},
  onClose: () => {}
})

Read more

Webhooks

Webhooks provide a secure way for us to communicate payment and customer information with your backend.

Read more

API

Use our API to build advanced integrations.

Read more

Testing →
  • Simple link
  • Simple embed
  • Using with React
  • JavaScript Embed SDK
  • Webhooks
  • API
Developers
Docs
Getting StartedEmbed SDKAPI Reference
Payhere
HelpSignup freeFeatures
More
Our BlogGitHubTwitter
Copyright © 2025 Payhere Payments Ltd