Install the OwnPay skill to get better results when using AI tools with OwnPay. The skill gives agents knowledge of the payment gateway architecture, multi-brand system, plugin development, and API patterns.
What are skills?
Skills are files that instruct AI agents how to use a product effectively. When you install the OwnPay skill, AI tools like Claude, Cursor, and VS Code gain:- Architecture knowledge - Understanding of multi-brand, gateway, and ledger systems
- API patterns - How to use the REST API, webhooks, and SDKs
- Plugin development - How to build gateway, addon, and theme plugins
- Best practices - Security, error handling, and testing patterns
- Code examples - Working examples in PHP, Node.js, and cURL
Install the skill
Quick install
Run this command in your terminal:Manual installation
- Claude Code
- Cursor
- VS Code (Copilot)
- Gemini CLI
What the skill teaches
The OwnPay skill covers these areas:Core architecture
- Multi-brand system - How brands isolate customers, gateways, and settings
- Payment flow - From checkout creation to settlement
- Double-entry ledger - Financial integrity and bookkeeping
- Plugin system - Gateway, addon, and theme plugin architecture
API integration
- REST API - Authentication, endpoints, error handling
- Webhooks - Event types, signature verification, retry logic
- SDKs - PHP and Node.js SDK usage patterns
- Payment intents - Creating and confirming payments
Development patterns
- Gateway plugins - Building custom payment gateway integrations
- Addon plugins - Extending OwnPay with new features
- Theme plugins - Customizing the checkout experience
- Hooks and filters - Event-driven customization
Operations
- Installation - Shared hosting, VPS, and Docker deployment
- Configuration - Environment variables, cron jobs, caching
- Security - PCI compliance, API key management, 2FA
- Troubleshooting - Common issues and solutions
Using the skill with MCP
For the best experience, combine the skill with the OwnPay MCP server:- Install the skill - Gives the AI agent background knowledge
- Connect the MCP server - Gives the AI agent real-time access to docs
Example prompts after installing
With the skill installed, try these prompts:Development
- “Create a gateway plugin for a new payment provider”
- “Build a webhook handler for payment.completed events”
- “Show me how to create a payment intent using the PHP SDK”
Architecture
- “Explain how multi-brand data isolation works”
- “How does the double-entry ledger track transactions?”
- “What hooks are available for customizing payment flow?”
Operations
- “How do I set up OwnPay on a cPanel shared host?”
- “Configure Redis caching for better performance”
- “Set up a cron job for webhook retries”
Skill file location
The skill file is hosted at:- Project overview and description
- Feature list and capabilities
- API endpoint summaries
- Code examples from documentation
- Architecture patterns and conventions
Updating the skill
The skill file updates automatically when you deploy new documentation. No manual updates needed - just push your docs changes to GitHub and the skill regenerates.Related pages
- OwnPay MCP Server - Connect AI tools to search docs in real-time
- Developer Quickstart - Get started with the OwnPay API
- Plugin Development - Build custom plugins