Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

PinMe UniwebPay Payment Integration

Guides Claude in writing PinMe Worker (Cloudflare Worker TypeScript) payment code that calls UniwebPay directly via @uniwebpay/sdk.

Web & APIAdvanced3,743276AI score 8/10Last updated: Sep 12, 2026

What it does

  • Supplies the full rule set for adding UniwebPay payments to a PinMe-deployed Cloudflare Worker.
  • Documents the PinMe-injected environment binding contract (UNIWEB_SECRET, UNIWEB_WEBHOOK_SECRET, WORKER_URL, DB…) and how to behave when bindings are missing.
  • Provides a decision table for choosing payment links vs. product/price catalogs vs. checkout sessions vs. subscriptions.
  • Gives a source-verified quick reference for the whole SDK surface: products, prices, checkout, payments, refunds, customers, subscriptions, links, wallet/webhook admin.
  • Spells out webhook handling: verifyWebhook signature checks, 400 vs. 500 semantics, event.id idempotency, bypassing project auth on the webhook route, retry schedule.
  • Flags currency/method constraints (card = 10 currencies, wechat/alipay/paynow = SGD only), integer minor units, and a long table of common mistakes.
  • Includes D1 table schemas and a complete reference Worker implementation plus a finish checklist.

Who it's for

  • Developers shipping Cloudflare Workers through PinMe who need to collect payments.
  • Teams using UniwebPay (@uniwebpay/sdk) for one-time payments, subscriptions, or refunds.
  • Anyone who wants AI-generated payment code to follow strict security and idempotency rules.

Examples

  1. "Add a fixed-price donation button" → generates a links.create route returning a reusable /p/ link with webhookUrl built from env.WORKER_URL.
  2. "Add a cart checkout endpoint" → creates the product/price once, persists the priceId, then returns a 24-hour checkout.create session URL.
  3. "Mark orders paid on payment success" → produces a webhook handler that reads the raw body once, verifies the signature, enforces event.id idempotency, and validates amount/currency before updating D1.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/glitternetwork/pinme/HEAD/skills/pinme-uniwebpay/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/pinme-uniwebpay folder from the GitHub repo glitternetwork/pinme into my ~/.claude/skills/pinme-uniwebpay/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/glitternetwork/pinme.git && mkdir -p ~/.claude/skills && cp -r pinme/skills/pinme-uniwebpay ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal in your working directory.
  2. Clone the repository: git clone https://github.com/glitternetwork/pinme.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r pinme/skills/pinme-uniwebpay ~/.claude/skills/
  5. Confirm that ~/.claude/skills/pinme-uniwebpay/SKILL.md exists.
  6. Restart Claude Code and, inside a PinMe Worker project, ask something like "add a UniwebPay payment link route" to trigger the skill.
  7. For real payments, enable UniwebPay in PinMe and redeploy the project so the UNIWEB_* bindings are injected.