{"id":"1843cbec-82ea-49ff-9c4f-e1d0438e06d2","entityType":"agent","slug":"clawhub-skills-ahsanatha-mayar-payment-skill","name":"mayar-payment-skill","canonicalUrl":"https://www.xpersona.co/agent/clawhub-skills-ahsanatha-mayar-payment-skill","canonicalPath":"/agent/clawhub-skills-ahsanatha-mayar-payment-skill","generatedAt":"2026-10-10T02:27:44.499Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"description":"Mayar Payment Integration --- name: mayar-payment description: 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) A","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.","installCommand":"clawhub skill install skills:ahsanatha:mayar-payment-skill","sourceUrl":"https://github.com/openclaw/skills/tree/main/skills/ahsanatha/mayar-payment-skill","homepage":null,"primaryLinks":[{"label":"View on ClawHub","url":"https://github.com/openclaw/skills/tree/main/skills/ahsanatha/mayar-payment-skill","kind":"source"}],"safetyScore":84,"overallRank":62,"popularityScore":50,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Mayar Payment Integration --- name: mayar-payment description: Mayar.id payment integration for generating invoices, payment links, and tracking transactions vi"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"protocols":[{"protocol":"MCP","label":"MCP","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"MCP","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:MCP|unknown|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No source adoption metrics were available."},"stars":null,"forks":null,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-02-25T05:56:53.779Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T00:45:39.800Z","lastCrawledAt":"2026-02-25T05:56:53.779Z","lastIndexedAt":null,"nextCrawlAt":"2026-02-26T05:56:53.779Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install skills:ahsanatha:mayar-payment-skill","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-ahsanatha-mayar-payment-skill/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-ahsanatha-mayar-payment-skill/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-ahsanatha-mayar-payment-skill/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-ahsanatha-mayar-payment-skill/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-ahsanatha-mayar-payment-skill/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-ahsanatha-mayar-payment-skill/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["MCP"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T02:27:44.499Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-ahsanatha-mayar-payment-skill/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-ahsanatha-mayar-payment-skill/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-ahsanatha-mayar-payment-skill/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-ahsanatha-mayar-payment-skill/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"readme":"---\nname: mayar-payment\ndescription: 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.\n---\n\n# Mayar Payment Integration\n\nIntegrate Mayar.id payment platform via MCP (Model Context Protocol) for Indonesian payment processing.\n\n## Prerequisites\n\n1. **Mayar.id account** - Sign up at https://mayar.id\n2. **API Key** - Generate from https://web.mayar.id/api-keys\n3. **mcporter configured** - MCP must be set up in Clawdbot\n\n## Setup\n\n### 1. Store API Credentials\n\n```bash\nmkdir -p ~/.config/mayar\ncat > ~/.config/mayar/credentials << EOF\nMAYAR_API_TOKEN=\"your-jwt-token-here\"\nEOF\nchmod 600 ~/.config/mayar/credentials\n```\n\n### 2. Configure MCP Server\n\nAdd to `config/mcporter.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"mayar\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://mcp.mayar.id/sse\",\n        \"--header\",\n        \"Authorization:YOUR_API_TOKEN_HERE\"\n      ]\n    }\n  }\n}\n```\n\nReplace `YOUR_API_TOKEN_HERE` with actual token.\n\n### 3. Test Connection\n\n```bash\nmcporter list mayar\n```\n\nShould show 15+ available tools.\n\n## Core Workflows\n\n### Create Invoice with Payment Link\n\n**Most common use case:** Generate payment link for customer.\n\n```bash\nmcporter call mayar.create_invoice \\\n  name=\"Customer Name\" \\\n  email=\"email@example.com\" \\\n  mobile=\"\\\"628xxx\\\"\" \\\n  description=\"Order description\" \\\n  redirectURL=\"https://yoursite.com/thanks\" \\\n  expiredAt=\"2026-12-31T23:59:59+07:00\" \\\n  items='[{\"quantity\":1,\"rate\":500000,\"description\":\"Product A\"}]'\n```\n\n**Returns:**\n```json\n{\n  \"id\": \"uuid\",\n  \"transactionId\": \"uuid\", \n  \"link\": \"https://subdomain.myr.id/invoices/slug\",\n  \"expiredAt\": 1234567890\n}\n```\n\n**Key fields:**\n- `mobile` - MUST be string with quotes: `\"\\\"628xxx\\\"\"`\n- `expiredAt` - ISO 8601 format with timezone\n- `items` - Array of `{quantity, rate, description}`\n- `redirectURL` - Where customer goes after payment\n\n### WhatsApp Integration Pattern\n\n```javascript\n// 1. Create invoice\nconst invoice = /* mcporter call mayar.create_invoice */;\n\n// 2. Format message\nconst message = `\n✅ *Order Confirmed!*\n\n*Items:*\n• Product Name\n  Rp ${amount.toLocaleString('id-ID')}\n\n*TOTAL: Rp ${total.toLocaleString('id-ID')}*\n\n💳 *Pembayaran:*\n${invoice.data.link}\n\n⏰ Berlaku sampai: ${expiryDate}\n\nTerima kasih! 🙏\n`.trim();\n\n// 3. Send via WhatsApp\nmessage({\n  action: 'send',\n  channel: 'whatsapp',\n  target: customerPhone,\n  message: message\n});\n```\n\n### Check Payment Status\n\n```bash\n# Get latest transactions (check if paid)\nmcporter call mayar.get_latest_transactions page:1 pageSize:10\n\n# Get unpaid invoices\nmcporter call mayar.get_latest_unpaid_transactions page:1 pageSize:10\n```\n\nFilter by status: `\"created\"` (unpaid) → `\"paid\"` (success).\n\n### Other Operations\n\n```bash\n# Check account balance\nmcporter call mayar.get_balance\n\n# Get customer details\nmcporter call mayar.get_customer_detail \\\n  customerName=\"Name\" \\\n  customerEmail=\"email@example.com\" \\\n  page:1 pageSize:10\n\n# Filter by time period\nmcporter call mayar.get_transactions_by_time_period \\\n  page:1 pageSize:10 \\\n  period:\"this_month\" \\\n  sortField:\"createdAt\" \\\n  sortOrder:\"DESC\"\n```\n\n## Common Patterns\n\n### Multi-Item Invoice\n\n```javascript\nitems='[\n  {\"quantity\":2,\"rate\":500000,\"description\":\"Product A\"},\n  {\"quantity\":1,\"rate\":1000000,\"description\":\"Product B\"}\n]'\n// Total: 2M (2×500K + 1×1M)\n```\n\n### Subscription/Recurring\n\nUse membership tools:\n\n```bash\nmcporter call mayar.get_membership_customer_by_specific_product \\\n  productName:\"Premium Membership\" \\\n  productLink:\"your-product-link\" \\\n  productId:\"product-uuid\" \\\n  page:1 pageSize:10 \\\n  memberStatus:\"active\"\n```\n\n### Payment Confirmation Flow\n\n**Option A: Webhook** (Real-time)\n- Register webhook URL with Mayar\n- Receive instant payment notifications\n- Best for production\n\n**Option B: Polling** (Simpler)\n- Poll `get_latest_transactions` every 30-60s\n- Check for new payments\n- Best for MVP/testing\n\n## Troubleshooting\n\n**404 on payment link:**\n- Link format: `https://your-subdomain.myr.id/invoices/slug`\n- Check dashboard for correct subdomain\n- Default may be account name\n\n**Invalid mobile number:**\n- Mobile MUST be string: `\"\\\"628xxx\\\"\"` (with escaped quotes)\n- Format: `628xxxxxxxxxx` (no + or spaces)\n\n**Expired invoice:**\n- Default expiry is `expiredAt` timestamp\n- Customer can't pay after expiration\n- Create new invoice if needed\n\n## Reference Documentation\n\n- **API Details:** See [references/api-reference.md](references/api-reference.md)\n- **Integration Examples:** See [references/integration-examples.md](references/integration-examples.md)\n- **MCP Tools Reference:** See [references/mcp-tools.md](references/mcp-tools.md)\n\n## Production Checklist\n\n- [ ] Use production API key (not sandbox)\n- [ ] Setup webhook for payment notifications\n- [ ] Error handling for failed invoice creation\n- [ ] Store invoice IDs for tracking\n- [ ] Handle payment expiration\n- [ ] Customer database integration\n- [ ] Receipt/confirmation automation\n\n## Environments\n\n**Production:**\n- Dashboard: https://web.mayar.id\n- API Base: `https://api.mayar.id/hl/v1/`\n\n**Sandbox (Testing):**\n- Dashboard: https://web.mayar.club\n- API Base: `https://api.mayar.club/hl/v1/`\n","readmeExcerpt":"--- name: mayar-payment description: 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) A","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"mkdir -p ~/.config/mayar\ncat > ~/.config/mayar/credentials << EOF\nMAYAR_API_TOKEN=\"your-jwt-token-here\"\nEOF\nchmod 600 ~/.config/mayar/credentials"},{"language":"json","snippet":"{\n  \"mcpServers\": {\n    \"mayar\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://mcp.mayar.id/sse\",\n        \"--header\",\n        \"Authorization:YOUR_API_TOKEN_HERE\"\n      ]\n    }\n  }\n}"},{"language":"bash","snippet":"mcporter list mayar"},{"language":"bash","snippet":"mcporter call mayar.create_invoice \\\n  name=\"Customer Name\" \\\n  email=\"email@example.com\" \\\n  mobile=\"\\\"628xxx\\\"\" \\\n  description=\"Order description\" \\\n  redirectURL=\"https://yoursite.com/thanks\" \\\n  expiredAt=\"2026-12-31T23:59:59+07:00\" \\\n  items='[{\"quantity\":1,\"rate\":500000,\"description\":\"Product A\"}]'"},{"language":"json","snippet":"{\n  \"id\": \"uuid\",\n  \"transactionId\": \"uuid\", \n  \"link\": \"https://subdomain.myr.id/invoices/slug\",\n  \"expiredAt\": 1234567890\n}"},{"language":"javascript","snippet":"// 1. Create invoice\nconst invoice = /* mcporter call mayar.create_invoice */;\n\n// 2. Format message\nconst message = `\n✅ *Order Confirmed!*\n\n*Items:*\n• Product Name\n  Rp ${amount.toLocaleString('id-ID')}\n\n*TOTAL: Rp ${total.toLocaleString('id-ID')}*\n\n💳 *Pembayaran:*\n${invoice.data.link}\n\n⏰ Berlaku sampai: ${expiryDate}\n\nTerima kasih! 🙏\n`.trim();\n\n// 3. Send via WhatsApp\nmessage({\n  action: 'send',\n  channel: 'whatsapp',\n  target: customerPhone,\n  message: message\n});"}],"parameters":{},"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["typescript"],"docsSourceLabel":"CLAWHUB","editorialOverview":"Mayar Payment Integration --- name: mayar-payment description: 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) A","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":368,"uniquenessScore":67,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T02:27:44.499Z","emptyReason":null},"items":[{"id":"91842505-d59e-48ad-ae35-d504a6e8eadb","entityType":"agent","canonicalPath":"/agent/ard-urn-air-com-brainiall-mcp-nlp","slug":"ard-urn-air-com-brainiall-mcp-nlp","name":"Brainiall NLP","description":"Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.","url":"https://api.brainiall.com/mcp/nlp/mcp","homepage":"https://api.brainiall.com/mcp/nlp/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T19:59:36.369Z","createdAt":"2026-10-09T02:32:12.319Z","downloads":null},{"id":"c07bfd45-37e3-4ca4-bce7-0f2c138264a2","entityType":"agent","canonicalPath":"/agent/ard-urn-air-ai-revuo-mcp-revuo","slug":"ard-urn-air-ai-revuo-mcp-revuo","name":"Revuo","description":"Agent-callable B2B SaaS directory: capability-structured, continuously verified listings.","url":"https://www.revuo.ai/api/mcp","homepage":"https://www.revuo.ai/api/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T19:04:52.902Z","createdAt":"2026-10-09T02:32:15.408Z","downloads":null},{"id":"b72e3032-816c-4f68-bcc9-1a847aef4d79","entityType":"agent","canonicalPath":"/agent/ard-urn-air-ai-bankee-mcp-inferventis-mcp","slug":"ard-urn-air-ai-bankee-mcp-inferventis-mcp","name":"Inferventis MCP Server","description":"Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.","url":"https://mcp-server-295985738387.europe-west1.run.app/mcp","homepage":"https://mcp-server-295985738387.europe-west1.run.app/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T18:09:37.547Z","createdAt":"2026-10-09T02:32:16.798Z","downloads":null},{"id":"a785e560-2661-4edd-a374-5e8de7c54e7a","entityType":"agent","canonicalPath":"/agent/ard-urn-air-io-github-cleandev-fix-mcp-shortlistlens","slug":"ard-urn-air-io-github-cleandev-fix-mcp-shortlistlens","name":"ShortlistLens","description":"Structured website and review evidence for AI-assisted local-business shortlisting.","url":"https://shortlistlens-mcp.streaming22box.workers.dev/mcp","homepage":"https://shortlistlens-mcp.streaming22box.workers.dev/mcp","source":"ARD_REGISTRY","protocols":["MCP"],"capabilities":["mcp","mcp-registry"],"safetyScore":95,"overallRank":93.5,"updatedAt":"2026-10-09T18:04:03.143Z","createdAt":"2026-10-09T02:32:13.915Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"MCP","href":"/agent/protocol/mcp"}]}}}