# PagBank PagSeguro MCP for AI Agents AI Agent Connect

> PagBank PagSeguro MCP lets you manage Brazilian payments through your AI client. You can create Pix QR codes, generate Boleto payments, and issue credit card checkout links. It also lets you track your account balance, search for specific transactions, and process refunds in seconds.

## Overview
- **Category:** money-moves
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ZCq17XG8di75boT0jalqKlUdU9DfTwvfnH4kvetn/ai-agent-connect
- **Tags:** payment-gateway, pix, boleto, credit-card-processing, refund-management, transaction-reporting

## Description

Connect PagBank (PagSeguro) to your AI agent to handle Brazil's leading payment solutions. You can generate Pix QR codes, Boleto payments, and checkout links for credit cards through natural conversation. It changes how you manage your daily sales by removing the need to jump between different dashboards. Instead of manual data entry, you just tell your agent what to do. Whether you are checking your current balance, looking for a specific transaction from last month, or issuing a refund to a customer, the agent handles the heavy lifting. Because Vinkius makes it easy to plug these capabilities into your existing workflow, you can focus on growing your business while your agent handles the financial plumbing. This means you can talk to your customers about their orders in one window while your agent handles the backend payments in another. You no longer have to worry about the technical details of the PagBank API or the friction of switching tabs to generate a payment link. It makes the whole process of getting paid feel like a conversation rather than a chore. You can handle complex things like credit card installments or partial refunds just as easily as checking your daily balance. It is about giving your AI agent the hands it needs to actually perform the work of a payment processor.

## Tools

### cancel_transaction
Issue a full or partial refund for a previous payment. This allows you to handle customer returns quickly.

### create_checkout_link
Create a payment URL for multiple items, including credit card options. This makes it easy to send links to buyers.

### get_order
Pull the specific details of an order using its unique ID. Use this to provide instant order status to customers.

### get_transaction
Retrieve full transaction data based on a specific reference code. This is great for looking up specific sales.

### get_installment_options
See how many installments a specific card brand will allow for a price. Use this to show customers their payment choices.

### create_pix_payment
Generate a Pix QR code for immediate payment confirmation. This is the fastest way to accept instant payments.

### search_transactions
Find all payments made within a specific date range. This helps you reconcile your books for any given period.

### get_balance
Check your current available funds in your PagBank account. This is useful for real-time financial oversight.

### create_boleto_payment
Generate a Boleto Bancário for customers who prefer bank transfers. This helps you accept offline payments easily.

## Prompt Examples

**Prompt:** 
```
Create a Pix payment of R$99.90 for reference 'ORDER-001'.
```

**Response:** 
```
Pix payment created! Status: WAITING. QR Code generated for user to scan.
```

**Prompt:** 
```
Show me the balance of my account.
```

**Response:** 
```
Current Available Balance: R$ 1,250.45.
```

**Prompt:** 
```
Cancel transaction 12345-ABCDE-67890.
```

**Response:** 
```
Transaction cancelled successfully! Status: CANCELLED.
```

## Capabilities

### Generate Pix QR codes
Create instant Pix payments for customers to scan and pay immediately.

### Issue Boleto payments
Generate Boleto Bancário for customers who prefer bank transfers or offline payments.

### Create checkout links
Produce payment URLs that support multiple items and credit card installments.

### Track account balances
Check your current available funds in your PagBank account at any time.

### Search transaction history
Find specific payments or search for all sales within a custom date range.

### Process refunds
Cancel transactions or issue partial refunds to customers through your agent.

## Use Cases

### Issue a refund for a returned item
A customer wants a partial refund. You tell your agent to use cancel_transaction with the specific amount to process it instantly.

### Generate a Pix QR code
A buyer wants to pay now. Your agent uses create_pix_payment and shares the QR code immediately in the chat.

### Check installment options
A customer wants to buy a high-ticket item. Your agent uses get_installment_options to see the monthly costs for different cards.

### Find a missing payment
You can't find a specific sale in your dashboard. Your agent uses search_transactions to find every sale from last Tuesday.

## Benefits

- Speed up Pix payments by having your agent generate QR codes instantly with create_pix_payment.
- Reduce manual errors when issuing refunds by using cancel_transaction to handle partial amounts accurately.
- Offer more payment flexibility by using create_checkout_link to support credit card installments for your buyers.
- Save time on bookkeeping by using search_transactions to find any payment from a specific month or date.
- Get real-time financial oversight by asking your agent to get_balance whenever you need an update on your funds.
- Simplify customer service by using get_order to provide instant order details to buyers without leaving your chat.

## How It Works

The bottom line is you get a direct line to Brazil's payment infrastructure without writing a single line of integration code.

1. Subscribe to the PagBank PagSeguro MCP on Vinkius and get your credentials.
2. Paste your PagBank Production or Sandbox Access Token into your AI client settings.
3. Ask your agent to create a Pix payment or check your balance to see the result.

## Frequently Asked Questions

**Can I use PagBank PagSeguro to send Pix payments?**
Yes, you can use the Connector to have your agent generate Pix QR codes for instant payments.

**Does this help with Boleto payments?**
It allows your agent to create Boleto Bancário for customers who don't have credit cards.

**Can I check my balance with PagBank PagSeguro?**
You can ask your agent for your current available balance at any time.

**How do I handle refunds?**
The Connector lets your agent process full or partial refunds for your customers instantly.

**Can the AI find old transactions?**
You can ask your agent to search for payments made within a specific date range.

**Is this for Brazilian businesses only?**
Yes, this Connector is designed to connect your AI client to the PagBank payment gateway in Brazil.

**How do I get a PagBank Access Token?**
Log in to your [**PagBank Account**](https://pagseguro.uol.com.br). 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.