Tooluck logoTooluck
SKILL.md

pinme-uniwebpay

Agent skill fromglitternetwork/pinme

Use when generating, modifying, or reviewing PinMe Worker (Cloudflare Worker TypeScript) code that accepts payments through UniwebPay — payment links, products/prices, checkout sessions, payment status reads, refunds, subscriptions, or handling UniwebPay webhooks with @uniwebpay/sdk in a PinMe project.

How to install pinme-uniwebpay

install pinme-uniwebpay
# install the pinme pack with the skills CLI
npx skills add glitternetwork/pinme

# or add only this skill to Claude Code: copy the folder

skills/pinme-uniwebpay/

# into

~/.claude/skills/pinme-uniwebpay/ (all projects)

.claude/skills/pinme-uniwebpay/ (one project)

skills/pinme-uniwebpay/SKILL.md

MITFull file
1# PinMe UniwebPay Payment Integration
2
3Guides writing payment services in a PinMe Worker (Cloudflare Worker TypeScript) that call UniwebPay directly through `@uniwebpay/sdk`.
4
5Core model: PinMe provisions the UniwebPay wallet and keys per **PinMe user** (not per project) and injects `UNIWEB_*` environment bindings at Worker deploy time; Worker code calls UniwebPay **directly with the SDK** — it does not go through PinMe payment proxy routes, and it must not call the legacy VibeCash APIs.
6
7## Environment Binding Contract
8
9```typescript
10export interface Env {
11 UNIWEB_SECRET: string; // PinMe-provisioned sk_server_ key (server-side only)
12 UNIWEB_WEBHOOK_SECRET?: string; // wallet-level whsec_, used to verify webhook signatures
13 UNIWEB_API_URL?: string; // UniwebPay API endpoint override (default https://apiskill.uniwebpay.com)
14 UNIWEB_PAY_URL?: string; // UniwebPay checkout host override (default https://skill.uniwebpay.com)
15 UNIWEB_WALLET_ID?: string; // user-level wallet id (wal_), diagnostics/reconciliation only
16 WORKER_URL?: string; // this project's public URL: https://{projectName}.{platform api domain}
17 PROJECT_NAME?: string; // PinMe project name
18 DB?: D1Database; // project D1 (if enabled)
19}
20```
21
22Injection rules (metadata is rebuilt server-side by PinMe at deploy time; client-supplied bindings are ignored):
23…

Excerpt shown under the repository's MIT license.

More skills in pinme

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates