Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ucashpay-skills

Drop-in integration know-how for AI coding tools: a Cursor rule and a Claude Code skill that teach the U.CASH Pay patterns (create-checkout, HMAC webhook verify, embed link, HTTP-402 agents, token-gating).

Cursor

Copy .cursor/rules/ucash-pay.mdc into your project's .cursor/rules/.

Claude Code

Copy the skills/ucash-pay/ folder into your Claude Code skills directory.

What it covers

  • Create checkout: POST /payment/ajax.php function=create-transaction + cloud + idempotent=1; extract the first http(s) link + first positive int.
  • Verify webhook: X-Webhook-Signature: t=..,v1=.., HMAC-SHA256 over t.raw_body, 300s window, timing-safe.
  • Embed link: pay.u.cash/embed.php?cloud=&amount=&currency=&title=&external_reference=&redirect=.
  • HTTP-402 agents + the agents-u-cash SDK + UdotCASH/mcp-ucashpay.
  • Token-gating (balanceOf / eth_getBalance) via UdotCASH/token-gate-ucashpay.
  • Credentials from pay.u.cash Account -> Stores; /v1/integrations for per-integration keys.

License

MIT.

About

Cursor rule + Claude Code skill for U.CASH Pay integrations (checkout, webhook, embed, HTTP-402, token-gating).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors