• PIX
  • BOLETO
  • CHAT
  • HUMAN

How to generate Pix and Boleto payments with your agent

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

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can my AI create Pix or Boleto payments?

Your agent 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

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

BOLETO

Bank slip orders

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

CHAT

Direct delivery

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

HUMAN

Manual control

Your agent handles the data, but you decide when to send the final payment details to the client.

The workflow

What your agent does when a payment is requested.

Your agent acts as the bridge between your chat and Pagar.me.

  1. Identify request

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

    create_pix_ordercreate_boleto_order
  2. Create Pix order

    Your 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, your agent creates the order and prepares the payment information.

    create_boleto_order
  4. Provide details

    Your agent presents the QR code or the Boleto details to you or the customer.

    create_pix_ordercreate_boleto_order

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Pagar.me tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

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
  • 01

    Create a Pix order for a customer named Lucas for 50 BRL.

  • 02

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

  • 03

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

  • 04

    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 agent

FAQ

How this task behaves.

  • 01

    Can your agent refund a payment?

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

  • 02

    Does your agent automatically send the payment to the customer?

    No. Your agent 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 your agent 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 your agent can complete the order correctly.

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

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Pagar.me to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Pagar.me plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

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

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.