8
n8n 中文网amn8n.com

Beanstream支付MCP服务器

高级

这是一个Miscellaneous, AI RAG领域的自动化工作流,包含 22 个节点。主要使用 HttpRequestTool, McpTrigger 等节点。 连接AI代理至Beanstream支付API,实现支付处理与管理

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "yJSpk7kJ1a04O1Bx",
  "meta": null,
  "name": "Beanstream Payments MCP Server",
  "tags": [],
  "nodes": [
    {
      "id": "10cf85e3-5487-41f5-aa78-f24e9372d0bb",
      "name": "设置说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1060,
        "content": "### ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "aaca9307-fb8b-4198-b0fd-4b03f1480a66",
      "name": "工作流概览",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "width": 420,
        "height": 920,
        "content": "## 🛠️ Beanstream Payments MCP Server ✅ 15 个操作"
      },
      "typeVersion": 1
    },
    {
      "id": "eed93e60-7813-478b-9711-51301243fce5",
      "name": "Beanstream Payments MCP Server",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -620,
        -240
      ],
      "webhookId": "e5c945a1-5f5c-417c-9486-c200a684321f",
      "parameters": {
        "path": "beanstream-payments-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "78cf70e1-6dc0-48a5-848d-7f8c1da4b7be",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 1100,
        "height": 200,
        "content": "## 支付"
      },
      "typeVersion": 1
    },
    {
      "id": "d7dcee97-fca7-47d4-9bdb-54de5ae2ec68",
      "name": "创建支付",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        -60
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/payments",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Make Payment"
      },
      "typeVersion": 4.2
    },
    {
      "id": "5732277f-4160-40f8-9efd-44d53b3aedde",
      "name": "获取支付",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        -60
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/payments/{{ $fromAI('transId', 'The transaction id.', 'number') }}",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Get payment\n\nParameters:\n- Path parameters:\n  • transId (required) - The transaction id."
      },
      "typeVersion": 4.2
    },
    {
      "id": "88a1369e-51ef-41d0-879a-6dd6630cda2f",
      "name": "完成预授权",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        -60
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/payments/{{ $fromAI('transId', 'The transaction id.', 'number') }}/completions",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Complete pre-auth\n\nParameters:\n- Path parameters:\n  • transId (required) - The transaction id."
      },
      "typeVersion": 4.2
    },
    {
      "id": "5e3a4e6c-12f5-494b-8e61-a895fd739b87",
      "name": "退款支付",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        80,
        -60
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/payments/{{ $fromAI('transId', 'The transaction id.', 'number') }}/returns",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Return payment\n\nParameters:\n- Path parameters:\n  • transId (required) - The transaction id."
      },
      "typeVersion": 4.2
    },
    {
      "id": "a3018c36-869a-4d3b-8ca1-94d78fa4fd8a",
      "name": "作废交易",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        280,
        -60
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/payments/{{ $fromAI('transId', 'The transaction id to void.', 'number') }}/void",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Void Transaction\n\nParameters:\n- Path parameters:\n  • transId (required) - The transaction id to void."
      },
      "typeVersion": 4.2
    },
    {
      "id": "371feb84-49d2-4010-84ac-1e023cd90424",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        140
      ],
      "parameters": {
        "color": 3,
        "width": 1700,
        "height": 200,
        "content": "## 配置文件"
      },
      "typeVersion": 1
    },
    {
      "id": "68754dbe-a628-443a-ab80-2bbf74b9b426",
      "name": "创建配置文件",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        180
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/profiles",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Create Profile"
      },
      "typeVersion": 4.2
    },
    {
      "id": "a9065397-5853-46e6-adb7-bede4bfce5c5",
      "name": "删除配置文件",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        180
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/profiles/{{ $fromAI('profileId', 'The profile id. (aka CustomerCode)', 'string') }}",
        "method": "DELETE",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Delete profile\n\nParameters:\n- Path parameters:\n  • profileId (required) - The profile id. (aka CustomerCode)"
      },
      "typeVersion": 4.2
    },
    {
      "id": "8b199a3c-018d-4aa4-8344-185c981f40ba",
      "name": "获取配置文件",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        180
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/profiles/{{ $fromAI('profileId', 'The profile id. (aka CustomerCode)', 'string') }}",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Get profile\n\nParameters:\n- Path parameters:\n  • profileId (required) - The profile id. (aka CustomerCode)"
      },
      "typeVersion": 4.2
    },
    {
      "id": "3d79b652-c7b0-4d8b-8403-bebd57b4762f",
      "name": "更新配置文件",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        80,
        180
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/profiles/{{ $fromAI('profileId', 'The profile id. (aka CustomerCode)', 'string') }}",
        "method": "PUT",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Update Profile\n\nParameters:\n- Path parameters:\n  • profileId (required) - The profile id. (aka CustomerCode)"
      },
      "typeVersion": 4.2
    },
    {
      "id": "3bc55fa3-0af2-441f-b63c-68bf43f8c715",
      "name": "获取卡片",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        280,
        180
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/profiles/{{ $fromAI('profileId', 'The profile id. (aka CustomerCode)', 'string') }}/cards",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Get cards\n\nParameters:\n- Path parameters:\n  • profileId (required) - The profile id. (aka CustomerCode)"
      },
      "typeVersion": 4.2
    },
    {
      "id": "007af91b-fa75-4f96-aeca-fba4b6af0c13",
      "name": "添加卡片",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        480,
        180
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/profiles/{{ $fromAI('profileId', 'The profile id. (aka CustomerCode)', 'string') }}/cards",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Add card\n\nParameters:\n- Path parameters:\n  • profileId (required) - The profile id. (aka CustomerCode)"
      },
      "typeVersion": 4.2
    },
    {
      "id": "db8f3d93-7143-45f2-a0b2-62674ca812c7",
      "name": "删除卡片",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        680,
        180
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/profiles/{{ $fromAI('profileId', 'The profile id. (aka CustomerCode)', 'string') }}/cards/{{ $fromAI('cardId', 'The card id.', 'number') }}",
        "method": "DELETE",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Delete card\n\nParameters:\n- Path parameters:\n  • profileId (required) - The profile id. (aka CustomerCode)\n  • cardId (required) - The card id."
      },
      "typeVersion": 4.2
    },
    {
      "id": "a14cb589-7cf0-4bb5-9dab-20a8d8bf925d",
      "name": "更新卡片",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        880,
        180
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/profiles/{{ $fromAI('profileId', 'The profile id. (aka CustomerCode)', 'string') }}/cards/{{ $fromAI('cardId', 'The card id.', 'number') }}",
        "method": "PUT",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Update card\n\nParameters:\n- Path parameters:\n  • profileId (required) - The profile id. (aka CustomerCode)\n  • cardId (required) - The card id."
      },
      "typeVersion": 4.2
    },
    {
      "id": "6a86caeb-81fe-4e66-a8b9-aa07ec030897",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        380
      ],
      "parameters": {
        "color": 4,
        "width": 300,
        "height": 200,
        "content": "## 报告"
      },
      "typeVersion": 1
    },
    {
      "id": "469674d1-78ec-43fe-81ed-4e65e4647ff0",
      "name": "搜索查询",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        420
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/reports",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Search Query"
      },
      "typeVersion": 4.2
    },
    {
      "id": "d0e81d3b-fed6-490c-8fde-430c1c82a18f",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        620
      ],
      "parameters": {
        "color": 5,
        "width": 300,
        "height": 200,
        "content": "## 令牌化"
      },
      "typeVersion": 1
    },
    {
      "id": "25d6e319-d4ac-41d4-9510-d3c427e731c7",
      "name": "令牌化信用卡",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        660
      ],
      "parameters": {
        "url": "=https://www.beanstream.com/api/v1/scripts/tokenization/tokens",
        "method": "POST",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Tokenize credit card"
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "shared": [
    {
      "role": "workflow:owner",
      "project": {
        "id": "G5fce9xGuBAsWBXe",
        "icon": null,
        "name": "David Ashby <david.ashby.lds@gmail.com>",
        "type": "personal",
        "createdAt": "2025-06-04T02:55:02.013Z",
        "updatedAt": "2025-06-04T02:56:01.361Z",
        "projectRelations": [
          {
            "role": "project:personalOwner",
            "user": {
              "id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
              "role": "global:owner",
              "email": "david.ashby.lds@gmail.com",
              "disabled": false,
              "lastName": "Ashby",
              "settings": {
                "npsSurvey": {
                  "responded": true,
                  "lastShownAt": 1749357655581
                },
                "userActivated": true,
                "userActivatedAt": 1749075994495,
                "easyAIWorkflowOnboarded": true,
                "firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
              },
              "createdAt": "2025-06-04T02:55:01.745Z",
              "firstName": "David",
              "isPending": false,
              "updatedAt": "2025-06-08T04:40:58.399Z",
              "mfaEnabled": false,
              "personalizationAnswers": {
                "version": "v4",
                "personalization_survey_n8n_version": "1.95.3",
                "personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
              }
            },
            "userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
            "createdAt": "2025-06-04T02:55:02.013Z",
            "projectId": "G5fce9xGuBAsWBXe",
            "updatedAt": "2025-06-04T02:55:02.013Z"
          }
        ]
      },
      "createdAt": "2025-07-01T21:21:40.720Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-01T21:21:40.720Z",
      "workflowId": "yJSpk7kJ1a04O1Bx"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-01T21:21:40.719Z",
  "updatedAt": "2025-07-01T21:21:56.000Z",
  "versionId": "31711dc9-631e-4d6d-a88c-de5bbfd848bf",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "Add card": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get cards": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete card": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get payment": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get profile": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update card": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Make Payment": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search Query": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Profile": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete profile": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Return payment": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update Profile": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Void Transaction": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Complete pre-auth": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Tokenize credit card": {
      "ai_tool": [
        [
          {
            "node": "Beanstream Payments MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 杂项, AI RAG 检索增强

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量22
分类2
节点类型3
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
David Ashby

David Ashby

@cfomodz

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord

外部链接
在 n8n.io 查看

分享此工作流