heysubStart selling
AI SETUP

Add payments.
Just ask your AI.

Already have a website or app? Connect heysub once, then ask your AI to add payments wherever you need them.

Works with Claude Code, Cursor, and other MCP-ready assistants.

my-store — claude

heysub MCP · connected

✱ Claude Code

❯ Add Heysub checkout here for 499 THB.

● I’ll create the checkout with Heysub and wire it to this product.

heysub MCP

✓ Checkout created

● Added the button and connected it to checkout.

Capybibi Game Engine for Unity

499THB

Buy now · 499 THB

✓ Done. This button now opens Heysub checkout.

Works with the AI you already use.

  • Claude
  • ChatGPT
  • Cursor
  • and any client that supports
    the Model Context Protocol.

Try a real store task.

Ask in plain language. Your assistant uses the right Heysub tools and brings the result back into the conversation.

AI assistant

Heysub connected

Create a 199 THB payment link for maya@example.com

Using Heysub

create_customer → success · create_checkout → success

Checkout link ready

199 THB

maya@example.com

https://heysub.co/pay/chk_82jd9

Ask once. Heysub handles the steps.

“Create a payment link for a new customer”

Claude

callscreate_customer&create_checkout

getsA checkout link to share

What your AI can do with Heysub

MCP is the connection that lets your assistant use heysub. You describe the task; the AI selects from these seven tools. You don’t need to type tool names.

Building an app? Claude Code can also edit your project. These seven MCP tools handle heysub actions; they don’t write your application code.

HEYSUB TOOLWHAT IT DOES
create_customerCustomer record for a new buyer
create_checkoutCheckout URL for a one-time payment
create_subscription_checkoutCheckout URL to start a recurring plan
get_balanceAvailable and pending amounts
list_paymentsRecent payment records and statuses
get_entitlementsCustomer access, flags and credits
verify_licenceLicence validation result

Connect in a minute.

  1. 1. Get your key

    Grab your sk_test_ (or sk_live_) key from Settings → API keys. Use a test key while you experiment.

    Settings → API keys

    sk_test_••••••••••••••••

    Keep your key in your client’s environment config.

  2. 2. Add heysub to your AI

    Paste the config below into your AI client, or use the CLI command.

    Claude Desktop / Cursor

    claude_desktop_config.json / .cursor/mcp.json

    {
      "mcpServers": {
        "heysub": {
          "command": "node",
          "args": [
            "/path/to/mcp-server/server.mjs"
          ],
          "env": {
            "HEYSUB_API_KEY": "sk_test_xxx",
            "HEYSUB_BASE_URL": "https://api.heysub.co/v1"
          }
        }
      }
    }

    Claude Code (CLI)

    claude mcp add heysub \
      -e HEYSUB_API_KEY=sk_test_xxx \
      -e HEYSUB_BASE_URL=https://api.heysub.co/v1 \
      -- node /path/to/mcp-server/server.mjs

    Replace /path/to/mcp-server/server.mjs with your local server path, and sk_test_xxx with your API key.

  3. 3. Just ask

    Restart your client and type a command in plain words. That’s it.

    “How much is in my balance right now?”

    Start with a test key. Switch to live when you’re ready.

API SECURITY

Keep your API key
out of chat.

Keep it in your environment config, not in chat. Start with sk_test_..., then switch to sk_live_... when you’re ready.

.env

Stored in environment config

HEYSUB_API_KEY=sk_test_••••

sk_test_...for testing

sk_live_...when you’re ready

A few good
questions.

Do I need to code?

No. Paste one config block (or run one command), then talk to your assistant.

Is it safe to use live?

Start with a test key, then move to live when you’re confident. Keep your key in your own config.

Which plans include this?

All of them, Free included.