mayar-payment
Mayar.id payment integration for generating invoices, payment links, and tracking transactions via MCP. Use when needing to: (1) Create payment invoices/links for customers, (2) Track payment status and transactions, (3) Generate WhatsApp-friendly payment messages, (4) Handle
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Mayar.id payment integration for generating invoices, payment links, and tracking transactions via MCP. Use when needing to: (1) Create payment invoices/links for customers, (2) Track payment status and transactions, (3) Generate WhatsApp-friendly payment messages, (4) Handle Indonesian payment methods (bank transfer, e-wallet, QRIS), (5) Manage subscriptions/memberships, or (6) Automate payment workflows for e-commerce, services, or digital products.
How to use
- Załóż konto na Mayar.id (https://mayar.id) i wygeneruj klucz API w panelu https://web.mayar.id/api-keys. 2. Utwórz katalog ~/.config/mayar i zapisz token JWT w pliku credentials – ustaw uprawnienia 600 dla bezpieczeństwa. 3. Dodaj konfigurację serwera MCP do pliku config/mcporter.json, wstawiając swój token API w polu Authorization. 4. Przetestuj połączenie poleceniem mcporter list mayar – powinno wyświetlić 15+ dostępnych narzędzi. 5. Aby utworzyć fakturę z linkiem płatniczym, użyj polecenia mcporter call mayar.create_invoice z parametrami: nazwa klienta, email, numer telefonu, opis zamówienia, URL przekierowania po płatności, datę wygaśnięcia oraz listę pozycji (ilość, cena, opis). 6. Skill zwróci identyfikator faktury, ID transakcji i link płatniczy gotowy do wysłania klientowi.