Payhip for AI agents

Payhip is an ecommerce platform for selling digital products, memberships, and physical goods directly to an audience. Creators use it to run their own storefront without a marketplace middleman. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

E-commerceAPI keyMCP + RESTpayhip.com
AUDIT LOG · PAYHIPPOLICY: acme-support
09:41:07 · claude · u_8f2read
payhip.get_coupon
Get Coupon✓ allowed · 212ms
09:41:08 · claude · u_8f2read
payhip.verify_coupon
Verify Coupon✓ allowed · 164ms
09:41:09 · claude · u_8f2write
payhip.create_coupon
Create Coupon✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
payhip.delete_coupon
Delete Coupon✕ blocked · policy: deny
EVERY PAYHIP CALL, ON THE RECORD
01 · USE CASES

What agents do in Payhip.

01

Create a discount coupon

Create a coupon code with a discount for an upcoming product launch or promotion.

02

Check a coupon's validity

Verify a coupon code read-only before telling a customer it will work at checkout.

03

Delete a coupon with approval

Remove an expired coupon only after confirming it is no longer being promoted.

02 · ACTIONS

9 Payhip actions, graded by risk.

Every Payhip action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

2

Look things up. Allowed by default.

  • payhip.get_coupon
    Get Coupon
  • payhip.verify_coupon
    Verify Coupon

write

6

Create and change things. Allow, or ask the user first.

  • payhip.create_coupon
    Create Coupon
  • payhip.update_coupon
    Update Coupon
  • payhip.webhook_event_paid
    Webhook Event - Paid
  • payhip.webhook_event_refunded
    Webhook Event - Refunded Payment
  • payhip.webhook_event_subscription_created
    Webhook Event - Subscription Created
  • payhip.webhook_event_subscription_deleted
    Webhook Event - Subscription Deleted

destructive

1

Delete, cancel or archive. Ask first, or deny outright.

  • payhip.delete_coupon
    Delete Coupon
03 · HOW IT WORKS

Payhip in three steps.

  1. 01Your users connect PayhipThey add their Payhip api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “create Coupon” can wait for the user, and “delete Coupon” can be denied outright.
  3. 03Any agent can actYour agent calls Payhip through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('payhip', {
  read: 'allow',
  write: 'ask',        // create_coupon
  destructive: 'deny',  // delete_coupon
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Payhip connects.

Users add their Payhip api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same Payhip connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Payhip from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Payhip and Arc0, answered.

Q01

Can I use Payhip with Claude, ChatGPT or Cursor?

Yes. Connect Payhip to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Payhip actions you allow.

Q02

How do users connect Payhip?

Users add their Payhip api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which Payhip actions can my agent take?

9 in total: 2 read, 6 write and 1 destructive, such as “create Coupon”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Payhip?

Yes. Actions like “delete Coupon” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Payhip too?

Yes. The same Payhip connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Payhip into your agent.

Your users connect Payhip once, under your brand. Your agent gets 9 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan