• PIX
  • BOLETO
  • CHAT
  • HUMAN

How to generate Pix and Boleto payments with your AI

Connect Pagar.me to your AI client to handle payments. Your agent generates the necessary payment data while you talk to your customers.

Ask AI about this page

Short answer

How can my AI create Pix or Boleto payments?

Your AI uses the Pagar.me MCP to trigger payment creation during a chat. It generates a Pix QR code or a Boleto order for you to share with the customer. You'll see the specific steps and prompts below.

Payment outcomes

What you get

The results of your payment requests.

PIX

Instant QR codes

The AI generates a Pix order. You get a QR code or a copy-pasteable code to send to the buyer.

BOLETO

Bank slip orders

The AI creates a Boleto order. It provides the barcode or line for the customer to pay at a bank.

CHAT

Direct delivery

The AI puts the payment info right in the chat. The customer gets what they need without you typing out codes manually.

HUMAN

Manual control

The AI handles the data, but you decide when to send the final payment details to the client.

The workflow

What your AI does when a payment is requested.

The AI acts as the bridge between your chat and Pagar.me.

  1. Identify request

    Your AI recognizes when a customer wants to pay via Pix or Boleto based on the conversation.

    create_pix_ordercreate_boleto_order
  2. Create Pix order

    The agent calls the specific tool to build a Pix transaction and returns the payment data.

    create_pix_order
  3. Create Boleto order

    For bank slip requests, the agent creates the order and prepares the payment information.

    create_boleto_order
  4. Provide details

    The AI presents the QR code or the Boleto details to you or the customer.

    create_pix_ordercreate_boleto_order

Try it

Copy these to start.

Use these prompts to trigger the Pagar.me tools.

Starting points

These are opening lines. Swap the bracketed info with your actual customer details.

Pagar.me Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_d8ZIp00FEg3zpn3ieRdMWqLt57HQWqBBDudfBcN1/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Pagar.me capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "pagarme-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_d8ZIp00FEg3zpn3ieRdMWqLt57HQWqBBDudfBcN1/mcp"
    }
  }
}
Copy into chat04
  • Create a Pix order for a customer named Lucas for 50 BRL.

  • Generate a Boleto order for a 120 BRL purchase for the user in this chat.

  • The customer wants to pay via Pix, can you create that order for 30 BRL?

  • I need a Boleto for a new order of 200 BRL, please generate it.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Pagar.me once, then ask.

Link your Pagar.me account to Vinkius. Your credentials stay encrypted, and you can start using the tools in any MCP-compatible client immediately.

Connect Pagar.me to your AI

FAQ

How this task behaves.

  • 01

    Can the AI refund a payment?

    No. The current tools only allow for creating Pix and Boleto orders.

  • 02

    Does the AI automatically send the payment to the customer?

    No. The AI generates the order and provides the data, but you decide when to pass that information to the customer.

  • 03

    Can I change the amount after the order is created?

    No. Once the tool creates the order, you would need to create a new one for a different amount.

  • 04

    Can the AI check if a Pix was paid?

    No. This MCP is specifically for generating Pix and Boleto orders.

  • 05

    Do I need to provide customer details?

    Yes. You should include the necessary customer information in your prompt so the AI can complete the order correctly.

  • More questions about Pagar.me? The Connector page answers them. See everything the Pagar.me Connector can do

Connect Pagar.me to Claude, Cursor, ChatGPT & more