payments
Skill4 starsChanged 9 months agoMITView on GitHub
Payment processing — Stripe, PayPal, Lightning Network payments
- Reads credentials
- Installs packages
- Sends data out
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Check: vault_get stripe_secret_key — keys auto-inject as uppercase env vars
- Distinctive: line 156
Always use HTTPS for payment APIs
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Payments
Process payments using various payment providers.
Setup
API keys (store in vault, never use export):
- Stripe:
vault_save stripe_secret_key "sk_test_xxx" - PayPal:
vault_save paypal_client_id "xxx"andvault_save paypal_secret "xxx" - Lightning (Alby):
vault_save alby_access_token "xxx" - OpenNode:
vault_save opennode_key "xxx" - Check:
vault_get stripe_secret_key— keys auto-inject as uppercase env vars
Set PAYPAL_API manually for sandbox (https://api-m.sandbox.paypal.com) or live (https://api-m.paypal.com).
Stripe
# Create payment intent
curl -s -X POST "https://api.stripe.com/v1/payment_intents" \
-u "$STRIPE_SECRET_KEY:" \
-d "amount=2000" \
-d "currency=usd" \
-d "payment_method_types[]=card" | jq '.'
# Retrieve payment intent
curl -s "https://api.stripe.com/v1/payment_intents/pi_xxx" \
-u "$STRIPE_SECRET_KEY:" | jq '.'
# Create customer
curl -s -X POST "https://api.stripe.com/v1/customers" \
-u "$STRIPE_SECRET_KEY:" \
-d "email=customer@example.com" \
-d "name=John Doe" | jq '.'
# Create invoice
curl -s -X POST "https://api.stripe.com/v1/invoices" \
-u "$STRIPE_SECRET_KEY:" \
-d "customer=cus_xxx" | jq '.'
# List charges
curl -s "https://api.stripe.com/v1/charges?limit=10" \
-u "$STRIPE_SECRET_KEY:" | jq '.data[]'
# Create checkout session
curl -s -X POST "https://api.stripe.com/v1/checkout/sessions" \
-u "$STRIPE_SECRET_KEY:" \
-d "mode=payment" \
-d "success_url=https://example.com/success" \
-d "line_items[0][price]=price_xxx" \
-d "line_items[0][quantity]=1" | jq '.url'PayPal
# PAYPAL_API: https://api-m.sandbox.paypal.com (sandbox) or api-m.paypal.com (live)
# Get access token
ACCESS_TOKEN=$(curl -s -X POST "$PAYPAL_API/v1/oauth2/token" \
-u "$PAYPAL_CLIENT_ID:$PAYPAL_SECRET" \
-d "grant_type=client_credentials" | jq -r '.access_token')
# Create order
curl -s -X POST "$PAYPAL_API/v2/checkout/orders" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-d '{
"intent": "CAPTURE",
"purchase_units": [{
"amount": {"currency_code": "USD", "value": "100.00"}
}]
}' | jq '.'
# Capture order
curl -s -X POST "$PAYPAL_API/v2/checkout/orders/ORDER_ID/capture" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" | jq '.'Lightning Network (Alby)
# Get balance
curl -s "https://api.getalby.com/balance" \
-H "Authorization: Bearer $ALBY_ACCESS_TOKEN" | jq '.'
# Create invoice
curl -s -X POST "https://api.getalby.com/invoices" \
-H "Authorization: Bearer $ALBY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"amount": 1000, "description": "Payment for service"}' | jq '.'
# Pay invoice
curl -s -X POST "https://api.getalby.com/payments/bolt11" \
-H "Authorization: Bearer $ALBY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"invoice": "lnbc..."}' | jq '.'
# Check invoice status
curl -s "https://api.getalby.com/invoices/PAYMENT_HASH" \
-H "Authorization: Bearer $ALBY_ACCESS_TOKEN" | jq '.'OpenNode (Bitcoin)
# Create invoice
curl -s -X POST "https://api.opennode.com/v1/charges" \
-H "Authorization: $OPENNODE_KEY" \
-H "Content-Type: application/json" \
-d '{"amount": 1000, "currency": "USD", "description": "Order #123"}' | jq '.'
# Check charge status
curl -s "https://api.opennode.com/v1/charge/CHARGE_ID" \
-H "Authorization: $OPENNODE_KEY" | jq '.'LNURL (Lightning)
# Generate LNURL-pay
# Requires lnurl library
pip install lnurl
python3 -c "
from lnurl import LnurlPayResponse
import json
# Example LNURL-pay metadata
data = {
'callback': 'https://your-domain.com/callback',
'maxSendable': 1000000,
'minSendable': 1000,
'metadata': '[["text/plain", "Payment for service"]]',
'tag': 'payRequest'
}
print(json.dumps(data))
"Tips
- Stripe: Test with
sk_test_keys first - PayPal: Use sandbox for testing
- Lightning: Alby offers easy API for Bitcoin
- Always use HTTPS for payment APIs
- Store payment IDs for reconciliation
Triggers
payment, stripe, paypal, bitcoin, lightning, invoice, create payment, process payment, payment api
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- openai/plugins★ 7.4ksame name
- butterbase-ai/butterbase-skills★ 535same name
- butterbase-ai/butterbase-plugin★ 534same name
- whawkinsiv/solo-founder-skills★ 260same name
- whawkinsiv/claude-code-skills★ 258same name
- MartinOlivero/saas-builder★ 4same name
- leonardoaraujosantos/my_ai_skills★ 1same name
- vietnamtrainingpilot-oss/atelier★ 1same name
- muxammadmamajonov/dot-claude★ 0same name
- otisbase/otis-agent-plugin★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use journey, integrations and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MeshJSSkilljourney
Create session learning logs that persist institutional memory across Claude Code sessions.
Also in 4 projects that use this
rohinipachantaSkillintegrations
Use when connecting Claude to external apps (Slack, GitHub, Gmail, etc.) using the Composio Connect framework.
Also in 3 projects that use this
nicolas-webdevSkilllanding-page
Architecture and copywriting framework for high-converting landing pages. Use when building landing pages, sales pages, product pages, or lead capture pages. Follows a proven 8-section structure optimized for conversions.
Also in 3 projects that use this
nilssonrSkillseo
Full SEO workflow for auditing pages and creating SEO-optimized content. Provides checklists with educational explanations aligned with Google Search Central documentation.
Also in 3 projects that use this
In this repository83 other files it gives its agents.
- a11y-axeSkill
- airtableSkill
- asanaSkill
- audio-ttsSkill
- aws-cliSkill
- azure-cliSkill
- backupSkill
- bookmarksSkill
- browser-automationSkill
- bundler-analyzeSkill
- calculatorSkill
- calendarSkill
- cargoSkill
- changelog-genSkill
- claude-codeSkill
- clickupSkill
- color-contrastSkill
- crypto-walletSkill
- databaseSkill
- discordSkill
- docker-composeSkill
- dockerSkill
- dora-metricsSkill
- emailSkill
- ffmpegSkill
- filesystemSkill
- gcloudSkill
- githubSkill
- gmailSkill
- gogSkill
- google-calendarSkill
- habitsSkill
- healthSkill
- hubspotSkill
- image-genSkill
- imagemagickSkill
- image-toolsSkill
- jiraSkill
- journalSkill
- kubernetesSkill
- lighthouseSkill
- linearSkill
- locationSkill
- media-configSkill
- meeting-notesSkill
- nginxSkill
- notesSkill
- notionSkill
- obsidianSkill
- ocrSkill
- pandocSkill
- pdf-toolsSkill
- pip-poetrySkill
- pm2Skill
- pomodoroSkill
- project-managerSkill
- qr-codeSkill
- railway-deploySkill
- redis-cliSkill
- release-notesSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

