4,500+ servers built on MCP Fusion
Vinkius

PagBank PagSeguro MCP. Manage Brazilian Payments (Pix, Boleto, Cards) from Chat

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

PagBank PagSeguro MCP on Cursor AI Code Editor MCP Client PagBank PagSeguro MCP on Claude Desktop App MCP Integration PagBank PagSeguro MCP on OpenAI Agents SDK MCP Compatible PagBank PagSeguro MCP on Visual Studio Code MCP Extension Client PagBank PagSeguro MCP on GitHub Copilot AI Agent MCP Integration PagBank PagSeguro MCP on Google Gemini AI MCP Integration PagBank PagSeguro MCP on Lovable AI Development MCP Client PagBank PagSeguro MCP on Mistral AI Agents MCP Compatible PagBank PagSeguro MCP on Amazon AWS Bedrock MCP Support

Just plug in your AI agents and start using Vinkius.

PagBank PagSeguro connects your AI agent directly to Brazil's major payment flows. Use this server to generate Pix QR codes, Boleto payments, and checkout links for credit cards.

You can also check account balances, search transactions by date range, or issue full/partial refunds—all via natural conversation.

What your AI agents can do

Cancel transaction

Cancels a payment, allowing you to process full or partial refunds on existing transactions.

Create boleto payment

Generates the required data and link for a Boleto Bancário payment slip.

Create checkout link

Creates a unified payment checkout link that supports multiple items and card installments.

+ 6 more capabilities included
Process Pix Payments

Creates an instant payment request by generating a unique QR code for the specified amount.

Generate Boleto Bills

Creates a Boleto Bancário payment slip, providing a non-card option for customers.

Build Checkout Links

Generates a single URL and code that handles payments involving multiple items or credit card installments.

Check Account Funds

Retrieves the current available balance of your connected PagBank account.

Find Transaction Details

Looks up specific payment records using a transaction code or searches history within defined date ranges.

Manage Refunds

Cansels existing transactions, supporting both full and partial refund amounts.

Supported MCP Clients

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients
Free for Subscribers

Waiting for input…

AI Agent

PagBank PagSeguro: 9 Tools for Brazilian Payments

These tools let your AI agent handle everything from generating instant Pix codes to managing complex transaction histories and issuing refunds.

cancel019d75ee

cancel transaction

Cancels a payment, allowing you to process full or partial refunds on existing transactions.

create019d75ee

create boleto payment

Generates the required data and link for a Boleto Bancário payment slip.

create019d75ee

create checkout link

Creates a unified payment checkout link that supports multiple items and card installments.

create019d75ee

create pix payment

Generates an immediate Pix QR code and data for instant payments.

get019d75ee

get balance

Retrieves the current, available funds balance from your PagBank account.

get019d75ee

get installment options

Looks up valid installment payment options for a specific credit card brand and purchase total.

get019d75ee

get order

Fetches the full details of an order using its unique ID.

get019d75ee

get transaction

Retrieves specific records and details for a payment transaction based on a given code.

search019d75ee

search transactions

Searches through your historical payments, filtering results by a specified date range.

Choose How to Get Started

Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.

Build Your Own

Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.

  • Import from OpenAPI, Swagger, or YAML specs
  • Create Agent Skills with progressive disclosure
  • Deploy to edge with MCPFusion framework
  • Built in DLP, auth, and compliance on every call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with PagBank PagSeguro, then connect any of our 4,700+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 4,700+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Every connection is secured and compliant automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog every week

What you can do with this MCP connector

Your AI client connects directly to Brazil’s major payment flows through this server. You can generate Pix QR codes, Boleto payments, and checkout links for credit cards—all without ever leaving your chat window.

Making Payments:
When you need to process an immediate transaction, use the create_pix_payment tool; it generates a unique QR code and all the necessary data so customers can pay instantly. If you're dealing with clients who don't use cards or prefer manual payment options, you'll run create_boleto_payment, which builds the required Boleto Bancário payment slip details.

For payments involving multiple products or if a customer needs to spread out the cost using credit card installments, you’ll hit up create_checkout_link. This single function builds one unified URL and code that handles all those complex options for you.

Managing Funds & Orders:
Before you process anything, you need to know what cash you've got. Run the get_balance tool anytime you want to check your current available funds from your PagBank account. If a customer gives you an order ID, use get_order to pull up every single detail about that purchase.

You can also get specifics on any payment by running get_transaction, which pulls detailed records using a specific transaction code. Need to find out what happened last month? Just run search_transactions; it lets you scope your historical payments down by specifying a date range.

Handling Returns and Adjustments:
If something goes wrong, these tools fix it. You can cancel existing transactions—whether the refund is for the full amount or just a partial amount—by executing cancel_transaction. This keeps your books clean. Furthermore, if you need to check what specific installment plans are available for a client's credit card brand given a purchase total, you’ll use get_installment_options.

How PagBank PagSeguro MCP Works

  1. 1 First, provide your PagBank Production or Sandbox Access Token when connecting the server.
  2. 2 Next, ask your AI agent to perform a task (e.g., 'Check my balance' or 'Create a Pix payment of R$25').
  3. 3 The agent calls the appropriate tool, gets confirmation/data back, and executes the action within your chat client.

The bottom line is that you treat complex financial operations like simple conversational commands.

Who Is PagBank PagSeguro MCP For?

This is for Brazilian e-commerce managers and developers who deal with payments daily. If you're tired of switching between the dashboard, manually copying codes, and juggling different payment methods (Pix, Boleto, Cards), this saves your time. You need a single point of control to manage money moves from chat.

E-commerce Manager

Uses the agent to monitor daily transactions, check balances, and issue refunds without logging into the payment portal.

Brazilian Seller

Accepts payments instantly from customers by generating Pix codes or Boleto links through conversation.

DevOps Engineer

Integrates payment validation and transaction logging into AI-driven workflows, avoiding complex SDK boilerplate code.

What Changes When You Connect

  • Process payments without leaving your chat. You can generate Pix QR codes or Boleto links directly through natural conversation.
  • Audit funds instantly. Use get_balance to check your current available account balance whenever you need it.
  • Handle complex orders easily. The create_checkout_link tool builds payment URLs that support multiple items and credit card installments.
  • Reconcile history fast. Instead of digging through dashboards, use search_transactions or get_transaction to find any payment record by date range or code.
  • Manage returns reliably. Use cancel_transaction to issue refunds—you can specify if you need the refund to be partial or full.

Real-World Use Cases

01

A customer needs a quick payment link after checkout.

The customer asks their agent, 'I need a payment option for 3 items.' The agent recognizes this requires card installments and calls create_checkout_link. This generates a single URL the customer can use immediately.

02

Checking if there's enough money before fulfilling an order.

Before confirming fulfillment, the team lead asks their agent to confirm funds. The agent calls get_balance, providing real-time confirmation of available cash before proceeding with shipping.

03

Troubleshooting a payment that failed yesterday.

The user needs to verify an old sale. They ask the agent, 'Show me transactions from last Tuesday.' The agent calls search_transactions using the date range, finding the specific record needed.

04

Issuing a partial refund for damaged goods.

A customer reports damage and needs a partial credit. The agent uses get_order to confirm the original sale details, then calls cancel_transaction, specifying only the reduced amount.

The Tradeoffs

Trying to manage payments via manual API polling.

Writing a script that constantly polls the payment gateway's status endpoint every 5 seconds until it gets a 'SUCCESS' code. This is inefficient, rate-limited, and complex to maintain.

Instead, use get_transaction or search_transactions. These tools let you target specific records by ID or date range, keeping your agent calls focused and minimizing unnecessary API hits.

Assuming all payment methods are covered by one link.

Using only create_checkout_link when the customer specifically requests a Pix QR code. This fails because the checkout link doesn't generate instant, scannable Pix data.

If you know the method, use the dedicated tool. To make Pix payments, call create_pix_payment. If they prefer Boleto, call create_boleto_payment.

Forgetting to validate payment options first.

Attempting to generate a checkout link for an expensive item without first checking installment plans. This results in the customer being presented with invalid or incomplete payment choices.

Always check get_installment_options before building a high-value create_checkout_link. That validates what card brands can actually offer.

When It Fits, When It Doesn't

Use this server if you need to automate the entire Brazilian payment lifecycle within an AI conversation. This covers generating multiple payment formats (Pix, Boleto, Card) and managing the money trail (Balance, Search, Refund). Don't use it if your only goal is to read data; for pure reporting, a specialized database connector might be cleaner.

Crucially: If you need to initiate an action (create payment, refund, check balance), this is the tool. If you are just verifying schema or structuring text output, you don't need it. Remember, get_order gives you the initial context, but you must follow up with a dedicated tool like create_pix_payment to actually move the money.

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by PagBank. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

VINKIUS INFRASTRUCTURE

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on every call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

How we secure it →

Works with Claude, ChatGPT, Cursor, and more

The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.

This server provides 9 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.

Available Capabilities

cancel_transaction create_boleto_payment create_checkout_link create_pix_payment get_balance get_installment_options get_order get_transaction search_transactions

The manual process of managing Brazilian payments is a mess of dashboards and clicks.

Today, if you need to settle an order, your team spends time jumping between the payment portal dashboard, manually copying transaction codes from PDF receipts, and then refreshing multiple tabs just to confirm funds. It's slow, tedious, and prone to copy/paste errors.

With PagBank PagSeguro MCP Server, that whole workflow collapses into a single chat command. You tell your agent what you need—say, 'Refund transaction 12345.' The agent calls `cancel_transaction`, handles the API call, and gives you an immediate, confirmed status update.

PagBank PagSeguro MCP Server: Payment & Transaction Tools

You stop needing to manually create unique payment methods for every customer. Instead of generating a Pix code or Boleto link in a separate system, you tell your agent the details, and it calls `create_pix_payment` or `create_boleto_payment`. The necessary codes are generated instantly.

This means payments flow from conversation to confirmation without friction points. It's direct, reliable, and keeps the entire payment lifecycle—from request to refund—inside your agent.

Common Questions About PagBank PagSeguro MCP

How do I find out if my account has enough money using PagBank PagSeguro MCP Server? +

Call get_balance. This tool retrieves the current available funds from your connected PagBank account, giving you an immediate financial snapshot.

What is the difference between `get_transaction` and `search_transactions`? +

get_transaction requires a specific code to pull one record. Use search_transactions when you only know a date range, allowing you to filter through multiple records at once.

Can I use the PagBank PagSeguro MCP Server for partial refunds? +

Yes, call cancel_transaction. This tool allows you to specify both full or partial refund amounts on an existing payment record.

What should I do if a customer wants to pay using a credit card with installments? +

Use create_checkout_link to generate the link. This tool handles the complexity of multiple items and installment options, simplifying the payment for the user.

What kind of access token is required when using the `get_balance` tool? +

You must provide a valid PagBank Access Token. Use your Sandbox credentials for testing and switch to Production tokens before live use. The agent confirms connectivity by checking token scope against account read permissions.

If I only have an Order ID, how does the `get_order` tool retrieve all necessary details? +

The get_order tool uses the unique order identifier to pull comprehensive data. It returns payment status, associated transaction codes, and item lists in a single payload.

When generating an instant payment using `create_pix_payment`, can I update the amount or reference number after calling the tool? +

No. The parameters—amount, currency, and reference code—must be provided to create_pix_payment at the time of execution. Changes require a new invocation with updated values.

If I use the `get_transaction` tool and find an error status, what does that mean for the payment lifecycle? +

The agent receives the specific PagBank failure code from get_transaction. This indicates why the transaction failed (e.g., insufficient funds or expired details), allowing you to troubleshoot immediately.

How do I get a PagBank Access Token? +

Log in to your PagBank Account. Go to Account > Credentials (or Developer section) and generate your Production Token. Copy the token and paste it below.

Can I generate Pix payments? +

Yes! Use the create_pix_payment action. It returns the QR Code data (Base64 and copy-paste text) that you can display for the user to pay instantly.

Does it support Boleto? +

Yes! Use the create_boleto_payment action. You need to provide the payer's Name and CPF to generate the Boleto link and barcode.

More in this category

You might also like

Built & Managed by Vinkius 30s setup 9 tools

We've already built the connector for PagBank PagSeguro. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 9 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.