Payhere logo
ConnectorPayhere

Payhere integration for Claude and Codex

Create a Payhere connection, then control which Spaces can use its approved tools and data without pasting credentials into prompts or threads.

Use Payhere from Claude

Add the Payhere connection to a Space that runs Claude, then use it from every channel in that Space.

Use Payhere from Codex

Add the Payhere connection to a Space that runs Codex, then use it from every channel in that Space.

Use Payhere from Sidekick

Connect your own OpenClaw to Sidekick while Type provides the conversations, permissions, connections, skills, and automations.

Commerce & Payments

What the Payhere connector can do

Easy payment links for accepting online payments

One connection, many Spaces

Connect Payhere once, then decide which Spaces can use it in threads, skills, automations, and coding work.

Representative actions

  • Create Hook

    Tool to subscribe to a REST hook for receiving webhook events. Use when you need to register a webhook endpoint to receive real-time notifications for payment_received, subscription_cancelled, or subscription_created events.

  • Create Plan

    Tool to create a new payment plan in PayHere. Use when you need to set up either a recurring subscription or one-off payment plan for accepting payments.

  • Delete Hook

    Tool to remove a REST hook listener subscription. Use when you need to stop receiving webhook events for a specific hook.

  • Get Current Company

    Tool to fetch company information for the currently authenticated user. Use when you need to retrieve comprehensive company details including identity, configuration, integration status, and associated users.

  • Get Current Company Stats

    Tool to fetch payment statistics for the last 30 days with comparison data from the preceding 30-day period (30-60 days ago). Use when you need to analyze recent payment trends, subscriber growth, or compare current performance against the previous month.

Connection

API and auth details

PayHere provides checkout, mobile SDK, and payment-link style APIs for online payments. Integrations can initiate payments, redirect customers, receive server callbacks through notify_url, verify payment statuses, and connect ecommerce or invoicing workflows to PayHere merchant accounts.

FAQ

Questions people ask before connecting Payhere

Can Claude use Payhere?

Yes. Add a Payhere connection to a Space that runs Claude, then use its approved tools and data from any channel in that Space.

Can Codex work with Payhere through Type?

Yes. Add a Payhere connection to a Space that runs Codex, then use its approved tools and data from any channel in that Space.

Is this the same as a Payhere MCP server?

Not exactly. Type uses connectors and connections to give selected Spaces access to approved app tools and data. Some connectors use hosted MCP, while others use OAuth, API keys, service accounts, or custom APIs.

More commerce & payments connectors