{
  "schemaVersion": "1.0",
  "item": {
    "slug": "paypilot-agms",
    "name": "PayPilot by AGMS",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/agmsyumet/paypilot-agms",
    "canonicalUrl": "https://clawhub.ai/agmsyumet/paypilot-agms",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/paypilot-agms",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=paypilot-agms",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "references/gateway-api.md",
      "references/pci-compliance.md",
      "references/payment-flows.md",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/paypilot-agms"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/paypilot-agms",
    "agentPageUrl": "https://openagent3.xyz/skills/paypilot-agms/agent",
    "manifestUrl": "https://openagent3.xyz/skills/paypilot-agms/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/paypilot-agms/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "PayPilot — Payment Processing for AI Agents",
        "body": "Accept payments, send invoices, issue refunds, and track sales — all through conversation."
      },
      {
        "title": "Setup",
        "body": "PayPilot connects to a hosted API proxy at https://paypilot.agms.com. On first use, check for credentials:\n\ncat ~/.config/paypilot/config.json\n\nIf no config exists, guide the user through setup:\n\nRegister on the PayPilot proxy:\n\ncurl -s \"https://paypilot.agms.com/v1/auth/register\" -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"name\":\"BUSINESS_NAME\",\"email\":\"EMAIL\",\"password\":\"PASSWORD\"}'\n\nLogin to get an access token:\n\ncurl -s \"https://paypilot.agms.com/v1/auth/login\" -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"email\":\"EMAIL\",\"password\":\"PASSWORD\"}'\n\nConfigure the payment gateway key:\n\ncurl -s \"https://paypilot.agms.com/v1/auth/configure\" -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer $TOKEN\" \\\n  -d '{\"gateway_key\":\"YOUR_GATEWAY_KEY\"}'\n\nSave credentials locally:\n\nmkdir -p ~/.config/paypilot\ncat > ~/.config/paypilot/config.json << 'EOF'\n{\n  \"api_url\": \"https://paypilot.agms.com\",\n  \"email\": \"merchant@example.com\",\n  \"token\": \"jwt_token_here\"\n}\nEOF\nchmod 600 ~/.config/paypilot/config.json\n\nIf the user doesn't have a gateway account, start the onboarding process:\n\nCollect basic info conversationally:\n\nBusiness name\nContact name\nEmail\nPhone\nBusiness type (retail, restaurant, ecommerce, mobile, etc.)\n\n\n\nSave the lead to our system:\n\ncurl -s \"https://paypilot.agms.com/v1/onboard\" -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"business_name\":\"Acme Corp\",\"contact_name\":\"John Doe\",\"email\":\"john@acme.com\",\"phone\":\"555-1234\",\"business_type\":\"retail\"}'\n\nSend them the full application link to complete and e-sign:\n\n\"Great! To finish your application, complete the form here: https://agms.com/get-started/\nIt takes about 5-10 minutes. You'll need your business address, Tax ID, and banking info. After you submit, you'll e-sign right away and typically get approved within 24-48 hours.\nOnce approved, come back and I'll set up your payment processing in seconds.\"\n\nImportant: The agent NEVER collects SSN, Tax ID, bank account/routing numbers, or other sensitive PII. Those go through the secure AGMS form only."
      },
      {
        "title": "Authentication",
        "body": "All payment endpoints require a JWT bearer token. Load config and set headers:\n\nCONFIG=$(cat ~/.config/paypilot/config.json)\nAPI=$(echo $CONFIG | jq -r '.api_url')\nTOKEN=$(echo $CONFIG | jq -r '.token')\nAUTH=\"Authorization: Bearer $TOKEN\"\n\nIf a request returns 401, re-login and update the saved token.\n\nTo refresh an expired token:\n\n# Re-login\nLOGIN=$(curl -s \"$API/v1/auth/login\" -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d \"{\\\"email\\\":\\\"$(echo $CONFIG | jq -r '.email')\\\",\\\"password\\\":\\\"YOUR_PASSWORD\\\"}\")\nNEW_TOKEN=$(echo $LOGIN | jq -r '.access_token')\n\n# Update config\nTMP=$(mktemp)\nchmod 600 \"$TMP\"\njq --arg t \"$NEW_TOKEN\" '.token = $t' ~/.config/paypilot/config.json > \"$TMP\" && mv \"$TMP\" ~/.config/paypilot/config.json\nchmod 600 ~/.config/paypilot/config.json"
      },
      {
        "title": "Charge / Sale",
        "body": "Process a payment using a vaulted card token. Never handle raw card numbers.\n\ncurl -s \"$API/v1/payments/charge\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"amount\":500.00,\"token\":\"VAULT_ID\",\"description\":\"Consulting — January\"}'\n\nEnable 3D Secure for higher-value or flagged transactions:\n\ncurl -s \"$API/v1/payments/charge\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"amount\":2500.00,\"token\":\"VAULT_ID\",\"description\":\"Premium service\",\"three_d_secure\":true}'\n\nThe response includes risk assessment and verification:\n\n{\n  \"transaction_id\": \"123\",\n  \"status\": \"complete\",\n  \"amount\": 2500,\n  \"risk\": { \"score\": \"low\", \"flags\": [] },\n  \"verification\": { \"avs\": \"Y\", \"cvv\": \"M\" },\n  \"three_d_secure\": true\n}"
      },
      {
        "title": "Send Invoice / Payment Link",
        "body": "curl -s \"$API/v1/payments/invoice\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"amount\":500.00,\"email\":\"john@example.com\",\"description\":\"Consulting — January\"}'"
      },
      {
        "title": "Refund",
        "body": "# Full refund\ncurl -s \"$API/v1/payments/refund\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"transaction_id\":\"TXN_ID\"}'\n\n# Partial refund\ncurl -s \"$API/v1/payments/refund\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"transaction_id\":\"TXN_ID\",\"amount\":50.00}'"
      },
      {
        "title": "Void (same-day cancel)",
        "body": "curl -s \"$API/v1/payments/void\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"transaction_id\":\"TXN_ID\"}'"
      },
      {
        "title": "View Transactions",
        "body": "curl -s \"$API/v1/transactions\" -H \"$AUTH\" | jq ."
      },
      {
        "title": "Sales Summary",
        "body": "curl -s \"$API/v1/transactions/summary\" -H \"$AUTH\" | jq ."
      },
      {
        "title": "Customer Vault (Tokenize Cards Securely)",
        "body": "Store a card securely — returns a vault token. The customer enters card details through a secure form; raw card data never touches the agent.\n\ncurl -s \"$API/v1/vault/add\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"first_name\":\"John\",\"last_name\":\"Smith\",\"email\":\"john@example.com\"}'"
      },
      {
        "title": "Charge a Vaulted Card",
        "body": "curl -s \"$API/v1/vault/charge\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"vault_id\":\"VAULT_ID\",\"amount\":99.00,\"description\":\"Monthly service\"}'"
      },
      {
        "title": "Recurring Billing",
        "body": "# Create subscription\ncurl -s \"$API/v1/subscriptions\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"vault_id\":\"VAULT_ID\",\"plan_id\":\"monthly_99\",\"amount\":99.00,\"interval\":\"monthly\"}'\n\n# Cancel subscription\ncurl -s \"$API/v1/subscriptions/SUB_ID\" -X DELETE -H \"$AUTH\""
      },
      {
        "title": "Fraud Detection & Rules",
        "body": "# View 30-day fraud analytics\ncurl -s \"$API/v1/fraud/summary\" -H \"$AUTH\" | jq .\n\n# List active fraud rules\ncurl -s \"$API/v1/fraud/rules\" -H \"$AUTH\" | jq .\n\n# Create a fraud rule (flag transactions over $5000)\ncurl -s \"$API/v1/fraud/rules\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"rule_type\":\"max_amount\",\"threshold\":\"5000\",\"action\":\"flag\"}'\n\n# Supported rule types: max_amount, min_amount, velocity_limit\n# Actions: flag (alert), block (reject), review (hold)\n\n# View a specific rule (if supported)\ncurl -s \"$API/v1/fraud/rules/RULE_ID\" -H \"$AUTH\" | jq .\n\n# Delete a rule\ncurl -s \"$API/v1/fraud/rules/RULE_ID\" -X DELETE -H \"$AUTH\"\n\nNote: rule updates are not supported. Delete and recreate the rule instead.\n\nExample response from creating a rule:\n\n{\n  \"rule_id\": \"rule_123\",\n  \"rule_type\": \"max_amount\",\n  \"threshold\": \"5000\",\n  \"action\": \"flag\",\n  \"status\": \"active\",\n  \"created_at\": \"2026-03-15T00:00:00Z\"\n}\n\nWhen reporting fraud stats:\n\n\"🛡️ Last 30 days: 45 transactions, 0 flagged, 0 blocked. 1 active rule (max $5,000). Fraud rate: 0.00%\""
      },
      {
        "title": "Security Rules",
        "body": "NEVER ask for, log, or store raw credit card numbers\nNEVER include card numbers in conversation history or memory files\nALWAYS use payment links or customer vault tokens for charges\nALWAYS use HTTPS — the proxy enforces TLS\nAPI tokens and gateway keys must stay in config files, never in chat\nThe proxy encrypts gateway keys at rest (AES-256-GCM)\nRate limited: 60 requests/min global, 5/min on auth endpoints"
      },
      {
        "title": "Error Handling",
        "body": "401 Unauthorized: re-login, update the saved token, then retry.\n400 Bad Request: validate request body and log the error message.\n429 Rate Limited: 60 req/min global, 5/min auth. Back off and retry.\n5xx Server Error: retry with exponential backoff.\nNetwork errors: verify HTTPS connectivity, then retry."
      },
      {
        "title": "Response Patterns",
        "body": "When a payment succeeds:\n\n\"✅ Payment of $500.00 processed. Transaction ID: abc123.\"\n\nWhen sending an invoice:\n\n\"📧 Payment link for $500.00 sent to john@example.com.\"\n\nWhen a payment fails:\n\n\"❌ Payment declined. Want to try a different method or send a payment link instead?\"\n\nWhen checking sales:\n\n\"📊 This month: 23 transactions · $4,750 in sales · 2 refunds ($150) · Net: $4,600\""
      },
      {
        "title": "API Reference",
        "body": "For detailed gateway API documentation, see references/gateway-api.md.\nFor payment flow diagrams, see references/payment-flows.md.\nFor PCI compliance guidelines, see references/pci-compliance.md."
      },
      {
        "title": "Discovery",
        "body": "AI agents and bots can discover PayPilot capabilities automatically:\n\nOpenAPI Spec: https://paypilot.agms.com/openapi.json\nAI Plugin Manifest: https://paypilot.agms.com/.well-known/ai-plugin.json\nLLM Resource Index: https://paypilot.agms.com/llms.txt\nLanding Page: https://agms.com/paypilot/\nClawHub: https://clawhub.ai/agmsyumet/paypilot-agms"
      },
      {
        "title": "Metadata",
        "body": "Homepage: https://agms.com/paypilot/\nSource: https://github.com/agmsyumet/paypilot-skill\nAuthor: AGMS (Avant-Garde Marketing Solutions)\nRequires: tools [curl, jq, mkdir, chmod], network [paypilot.agms.com]\nCredentials: PAYPILOT_EMAIL — Your merchant email for the PayPilot API\nCredentials: PAYPILOT_PASSWORD — Your merchant password (used only during login to obtain a JWT)\nCredentials: PAYPILOT_GATEWAY_KEY — Your payment gateway security key (encrypted at rest on the server)\nConfig path: ~/.config/paypilot/config.json\nConfig permissions: 600\nConfig contents: api_url, email, token (JWT)"
      }
    ],
    "body": "PayPilot — Payment Processing for AI Agents\n\nAccept payments, send invoices, issue refunds, and track sales — all through conversation.\n\nSetup\n\nPayPilot connects to a hosted API proxy at https://paypilot.agms.com. On first use, check for credentials:\n\ncat ~/.config/paypilot/config.json\n\n\nIf no config exists, guide the user through setup:\n\nRegister on the PayPilot proxy:\ncurl -s \"https://paypilot.agms.com/v1/auth/register\" -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"name\":\"BUSINESS_NAME\",\"email\":\"EMAIL\",\"password\":\"PASSWORD\"}'\n\nLogin to get an access token:\ncurl -s \"https://paypilot.agms.com/v1/auth/login\" -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"email\":\"EMAIL\",\"password\":\"PASSWORD\"}'\n\nConfigure the payment gateway key:\ncurl -s \"https://paypilot.agms.com/v1/auth/configure\" -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer $TOKEN\" \\\n  -d '{\"gateway_key\":\"YOUR_GATEWAY_KEY\"}'\n\nSave credentials locally:\nmkdir -p ~/.config/paypilot\ncat > ~/.config/paypilot/config.json << 'EOF'\n{\n  \"api_url\": \"https://paypilot.agms.com\",\n  \"email\": \"merchant@example.com\",\n  \"token\": \"jwt_token_here\"\n}\nEOF\nchmod 600 ~/.config/paypilot/config.json\n\n\nIf the user doesn't have a gateway account, start the onboarding process:\n\nCollect basic info conversationally:\n\nBusiness name\nContact name\nEmail\nPhone\nBusiness type (retail, restaurant, ecommerce, mobile, etc.)\n\nSave the lead to our system:\n\ncurl -s \"https://paypilot.agms.com/v1/onboard\" -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"business_name\":\"Acme Corp\",\"contact_name\":\"John Doe\",\"email\":\"john@acme.com\",\"phone\":\"555-1234\",\"business_type\":\"retail\"}'\n\nSend them the full application link to complete and e-sign:\n\n\"Great! To finish your application, complete the form here: https://agms.com/get-started/ It takes about 5-10 minutes. You'll need your business address, Tax ID, and banking info. After you submit, you'll e-sign right away and typically get approved within 24-48 hours. Once approved, come back and I'll set up your payment processing in seconds.\"\n\nImportant: The agent NEVER collects SSN, Tax ID, bank account/routing numbers, or other sensitive PII. Those go through the secure AGMS form only.\n\nAuthentication\n\nAll payment endpoints require a JWT bearer token. Load config and set headers:\n\nCONFIG=$(cat ~/.config/paypilot/config.json)\nAPI=$(echo $CONFIG | jq -r '.api_url')\nTOKEN=$(echo $CONFIG | jq -r '.token')\nAUTH=\"Authorization: Bearer $TOKEN\"\n\n\nIf a request returns 401, re-login and update the saved token.\n\nTo refresh an expired token:\n\n# Re-login\nLOGIN=$(curl -s \"$API/v1/auth/login\" -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d \"{\\\"email\\\":\\\"$(echo $CONFIG | jq -r '.email')\\\",\\\"password\\\":\\\"YOUR_PASSWORD\\\"}\")\nNEW_TOKEN=$(echo $LOGIN | jq -r '.access_token')\n\n# Update config\nTMP=$(mktemp)\nchmod 600 \"$TMP\"\njq --arg t \"$NEW_TOKEN\" '.token = $t' ~/.config/paypilot/config.json > \"$TMP\" && mv \"$TMP\" ~/.config/paypilot/config.json\nchmod 600 ~/.config/paypilot/config.json\n\nCore Commands\nCharge / Sale\n\nProcess a payment using a vaulted card token. Never handle raw card numbers.\n\ncurl -s \"$API/v1/payments/charge\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"amount\":500.00,\"token\":\"VAULT_ID\",\"description\":\"Consulting — January\"}'\n\n\nEnable 3D Secure for higher-value or flagged transactions:\n\ncurl -s \"$API/v1/payments/charge\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"amount\":2500.00,\"token\":\"VAULT_ID\",\"description\":\"Premium service\",\"three_d_secure\":true}'\n\n\nThe response includes risk assessment and verification:\n\n{\n  \"transaction_id\": \"123\",\n  \"status\": \"complete\",\n  \"amount\": 2500,\n  \"risk\": { \"score\": \"low\", \"flags\": [] },\n  \"verification\": { \"avs\": \"Y\", \"cvv\": \"M\" },\n  \"three_d_secure\": true\n}\n\nSend Invoice / Payment Link\ncurl -s \"$API/v1/payments/invoice\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"amount\":500.00,\"email\":\"john@example.com\",\"description\":\"Consulting — January\"}'\n\nRefund\n# Full refund\ncurl -s \"$API/v1/payments/refund\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"transaction_id\":\"TXN_ID\"}'\n\n# Partial refund\ncurl -s \"$API/v1/payments/refund\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"transaction_id\":\"TXN_ID\",\"amount\":50.00}'\n\nVoid (same-day cancel)\ncurl -s \"$API/v1/payments/void\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"transaction_id\":\"TXN_ID\"}'\n\nView Transactions\ncurl -s \"$API/v1/transactions\" -H \"$AUTH\" | jq .\n\nSales Summary\ncurl -s \"$API/v1/transactions/summary\" -H \"$AUTH\" | jq .\n\nCustomer Vault (Tokenize Cards Securely)\n\nStore a card securely — returns a vault token. The customer enters card details through a secure form; raw card data never touches the agent.\n\ncurl -s \"$API/v1/vault/add\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"first_name\":\"John\",\"last_name\":\"Smith\",\"email\":\"john@example.com\"}'\n\nCharge a Vaulted Card\ncurl -s \"$API/v1/vault/charge\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"vault_id\":\"VAULT_ID\",\"amount\":99.00,\"description\":\"Monthly service\"}'\n\nRecurring Billing\n# Create subscription\ncurl -s \"$API/v1/subscriptions\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"vault_id\":\"VAULT_ID\",\"plan_id\":\"monthly_99\",\"amount\":99.00,\"interval\":\"monthly\"}'\n\n# Cancel subscription\ncurl -s \"$API/v1/subscriptions/SUB_ID\" -X DELETE -H \"$AUTH\"\n\nFraud Detection & Rules\n# View 30-day fraud analytics\ncurl -s \"$API/v1/fraud/summary\" -H \"$AUTH\" | jq .\n\n# List active fraud rules\ncurl -s \"$API/v1/fraud/rules\" -H \"$AUTH\" | jq .\n\n# Create a fraud rule (flag transactions over $5000)\ncurl -s \"$API/v1/fraud/rules\" -X POST \\\n  -H \"Content-Type: application/json\" -H \"$AUTH\" \\\n  -d '{\"rule_type\":\"max_amount\",\"threshold\":\"5000\",\"action\":\"flag\"}'\n\n# Supported rule types: max_amount, min_amount, velocity_limit\n# Actions: flag (alert), block (reject), review (hold)\n\n# View a specific rule (if supported)\ncurl -s \"$API/v1/fraud/rules/RULE_ID\" -H \"$AUTH\" | jq .\n\n# Delete a rule\ncurl -s \"$API/v1/fraud/rules/RULE_ID\" -X DELETE -H \"$AUTH\"\n\n\nNote: rule updates are not supported. Delete and recreate the rule instead.\n\nExample response from creating a rule:\n\n{\n  \"rule_id\": \"rule_123\",\n  \"rule_type\": \"max_amount\",\n  \"threshold\": \"5000\",\n  \"action\": \"flag\",\n  \"status\": \"active\",\n  \"created_at\": \"2026-03-15T00:00:00Z\"\n}\n\n\nWhen reporting fraud stats:\n\n\"🛡️ Last 30 days: 45 transactions, 0 flagged, 0 blocked. 1 active rule (max $5,000). Fraud rate: 0.00%\"\n\nSecurity Rules\nNEVER ask for, log, or store raw credit card numbers\nNEVER include card numbers in conversation history or memory files\nALWAYS use payment links or customer vault tokens for charges\nALWAYS use HTTPS — the proxy enforces TLS\nAPI tokens and gateway keys must stay in config files, never in chat\nThe proxy encrypts gateway keys at rest (AES-256-GCM)\nRate limited: 60 requests/min global, 5/min on auth endpoints\nError Handling\n401 Unauthorized: re-login, update the saved token, then retry.\n400 Bad Request: validate request body and log the error message.\n429 Rate Limited: 60 req/min global, 5/min auth. Back off and retry.\n5xx Server Error: retry with exponential backoff.\nNetwork errors: verify HTTPS connectivity, then retry.\nResponse Patterns\n\nWhen a payment succeeds:\n\n\"✅ Payment of $500.00 processed. Transaction ID: abc123.\"\n\nWhen sending an invoice:\n\n\"📧 Payment link for $500.00 sent to john@example.com.\"\n\nWhen a payment fails:\n\n\"❌ Payment declined. Want to try a different method or send a payment link instead?\"\n\nWhen checking sales:\n\n\"📊 This month: 23 transactions · $4,750 in sales · 2 refunds ($150) · Net: $4,600\"\n\nAPI Reference\n\nFor detailed gateway API documentation, see references/gateway-api.md. For payment flow diagrams, see references/payment-flows.md. For PCI compliance guidelines, see references/pci-compliance.md.\n\nDiscovery\n\nAI agents and bots can discover PayPilot capabilities automatically:\n\nOpenAPI Spec: https://paypilot.agms.com/openapi.json\nAI Plugin Manifest: https://paypilot.agms.com/.well-known/ai-plugin.json\nLLM Resource Index: https://paypilot.agms.com/llms.txt\nLanding Page: https://agms.com/paypilot/\nClawHub: https://clawhub.ai/agmsyumet/paypilot-agms\nMetadata\nHomepage: https://agms.com/paypilot/\nSource: https://github.com/agmsyumet/paypilot-skill\nAuthor: AGMS (Avant-Garde Marketing Solutions)\nRequires: tools [curl, jq, mkdir, chmod], network [paypilot.agms.com]\nCredentials: PAYPILOT_EMAIL — Your merchant email for the PayPilot API\nCredentials: PAYPILOT_PASSWORD — Your merchant password (used only during login to obtain a JWT)\nCredentials: PAYPILOT_GATEWAY_KEY — Your payment gateway security key (encrypted at rest on the server)\nConfig path: ~/.config/paypilot/config.json\nConfig permissions: 600\nConfig contents: api_url, email, token (JWT)"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/agmsyumet/paypilot-agms",
    "publisherUrl": "https://clawhub.ai/agmsyumet/paypilot-agms",
    "owner": "agmsyumet",
    "version": "1.3.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/paypilot-agms",
    "downloadUrl": "https://openagent3.xyz/downloads/paypilot-agms",
    "agentUrl": "https://openagent3.xyz/skills/paypilot-agms/agent",
    "manifestUrl": "https://openagent3.xyz/skills/paypilot-agms/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/paypilot-agms/agent.md"
  }
}