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).
Copy .cursor/rules/ucash-pay.mdc into your project's .cursor/rules/.
Copy the skills/ucash-pay/ folder into your Claude Code skills directory.
- Create checkout:
POST /payment/ajax.phpfunction=create-transaction+cloud+idempotent=1; extract the first http(s) link + first positive int. - Verify webhook:
X-Webhook-Signature: t=..,v1=.., HMAC-SHA256 overt.raw_body, 300s window, timing-safe. - Embed link:
pay.u.cash/embed.php?cloud=&amount=¤cy=&title=&external_reference=&redirect=. - HTTP-402 agents + the
agents-u-cashSDK +UdotCASH/mcp-ucashpay. - Token-gating (balanceOf / eth_getBalance) via
UdotCASH/token-gate-ucashpay. - Credentials from pay.u.cash Account -> Stores;
/v1/integrationsfor per-integration keys.
MIT.