Mayar Payment Skill
Skill by ahsanatha
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ahsanatha/mayar-payment-skillWhat This Skill Does
The Mayar Payment Skill is a specialized integration for the OpenClaw AI agent that bridges the gap between your automated workflows and the Mayar.id payment infrastructure. By leveraging the Model Context Protocol (MCP), this skill enables your agent to programmatically generate payment invoices, create unique payment links, and track transaction statuses in real-time. It is specifically designed to support the Indonesian market, providing seamless handling of local payment methods including virtual bank accounts, e-wallets, and QRIS codes. This skill eliminates manual bookkeeping by allowing your agent to automate the entire billing lifecycle, from issuing an invoice for a service to verifying payment confirmation for order fulfillment.
Installation
To integrate this skill, ensure you have the OpenClaw CLI tools and mcporter installed. Begin by creating a directory for your credentials at ~/.config/mayar/ and securely store your API token in a credentials file with restricted permissions (chmod 600). Next, modify your config/mcporter.json file to register the Mayar MCP server using the official Mayar SSE endpoint. Finally, execute mcporter list mayar to confirm that all tools are registered correctly. You can pull the full skill suite via the command clawhub install openclaw/skills/skills/ahsanatha/mayar-payment-skill.
Use Cases
- E-commerce Automation: Automatically generate and send payment links to customers immediately after they request an order through the AI agent.
- Subscription Management: Create recurring payment workflows for members or digital services, allowing the agent to handle renewal reminders and payment tracking.
- Service Invoicing: Generate professional invoices for freelance work or consulting services directly from conversation history.
- Transactional Sync: Monitor payment statuses for thousands of transactions to trigger automated delivery of digital goods or access permissions.
Example Prompts
- "Create a payment invoice for Budi, email [email protected], for a web design package costing 500,000 IDR and send him the link via WhatsApp."
- "Check the current payment status for transaction ID 987654321 and let me know if the payment has been completed."
- "Generate a list of all unpaid invoices from this week and draft a friendly follow-up message for each customer."
Tips & Limitations
Always ensure that mobile numbers are formatted correctly with quotes (e.g., ""628123456789"") to avoid parsing errors. Keep in mind that payment links have an expiration date; set your expiredAt field appropriately to ensure your customers have sufficient time to pay. Regularly audit your API logs in the Mayar dashboard to monitor for any failed callbacks. Note that this skill requires an active internet connection and a valid, authorized API token from your Mayar.id account.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ahsanatha-mayar-payment-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api