pixcli

pixcli Documentation

CLI tool and Rust library for programmatic Pix payments in Brazil

Welcome to the pixcli documentation. pixcli is a fast, open-source command-line tool and Rust library for Brazilian Pix instant payments.

What is pixcli?

pixcli lets you interact with the Brazilian Pix payment system from your terminal. Built in Rust for speed and reliability, it supports:

  • Creating charges — generate Pix cobranças with a single command
  • QR code generation — static and dynamic QR codes rendered in the terminal or saved as PNG
  • Balance queries — check your account balance instantly
  • Transaction history — list and inspect received Pix payments
  • Webhook management — register, monitor, and forward payment notifications
  • MCP integration — use Pix operations from AI agents like Claude Code

Architecture

pixcli is organized as a Rust workspace with several crates:

CrateDescription
pixcliThe CLI binary — the main entry point
pix-coreCore Pix primitives: key validation, CRC16, BR Code encoding
pix-efiEfí (Gerencianet) API client with mTLS authentication
pix-providerProvider trait for PSP abstraction
pix-brcodeEMV/BR Code encoder and decoder
pix-mcpMCP server for AI agent integration
pix-webhook-serverStandalone webhook listener server

On this page