# BR Intelligence – PIX BR Code Generator

> BR Intelligence – PIX BR Code Generator is a paid API for AI agents from br-intelligence.brverify-api.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Generates a static PIX copia-e-cola (BR Code) string from a PIX key, with optional amount, receiver name, city, and reference, following the Central Bank of Brazil standard with CRC16 self-check.

## Facts

- Endpoint: GET https://br-intelligence.brverify-api.workers.dev/v1/pix-code?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/br-intelligence-pix-br-code-generator-255c4091
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iJkaSYBdITaa_9SGUYH9h

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability br-intelligence-pix-br-code-generator-255c4091
```

Example prompt: Generate a static PIX copia-e-cola code for the PIX key 11999998888 (phone number) for R$75.00, with receiver name 'João Silva' and city 'São Paulo'.

## When to prefer this

Use this endpoint when you need to programmatically generate a valid, self-checked PIX payment code (copia-e-cola) from any PIX key type without storing data. Ideal for e-commerce checkout flows, invoice generation, donation forms, or any Brazilian payment scenario where you need a standards-compliant BR Code payload without building CRC16 encoding yourself.

## Known failure modes

- Invalid PIX key format — returns error if the key doesn't match CPF, CNPJ, phone (+55), email, or EVP (UUID) patterns
- Amount format error — if amount has more than 2 decimal places or is non-numeric
- Name or city too long — receiver name exceeds 25 characters or city exceeds 15 characters
- Missing required 'key' parameter — API returns validation error
- txid with invalid characters — reference must be alphanumeric only, up to 25 chars

## How this service works

Brazil PIX code generator: create a static PIX copia-e-cola (BR Code) from a PIX key (CPF, CNPJ, phone, e-mail or random key), with optional amount, receiver name, city and reference, following the Central Bank of Brazil standard. Self-checked (CRC16). Nothing is stored.

## Output

Returns a PIX copia-e-cola (BR Code) string ready to be pasted into any Brazilian bank app or rendered as a QR code, along with the detected key type, decoded self-check validation object, merchant name, merchant city, currency (BRL), and amount (if specified).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "key"
     ],
     "properties": {
      "key": {
       "type": "string",
       "description": "PIX key: CPF or CNPJ, phone with +55, e-mail or random key (EVP)."
      },
      "city": {
       "type": "string",
       "description": "Optional receiver city (up to 15 characters)."
      },
      "name": {
       "type": "string",
       "description": "Optional receiver name (up to 25 characters)."
      },
      "txid": {
       "type": "string",
       "description": "Optional reference, letters and digits, up to 25."
      },
      "amount": {
       "type": "string",
       "description": "Optional amount in BRL, up to 2 decimals (e.g. 25.00). Omit for an open amount."
      },
      "description": {
       "type": "string",
       "description": "Optional message shown to the payer."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "payload",
      "keyType",
      "selfCheck"
     ],
     "properties": {
      "txid": {
       "type": "string"
      },
      "amount": {
       "type": [
        "number",
        "null"
       ]
      },
      "keyType": {
       "enum": [
        "cpf",
        "cnpj",
        "email",
        "phone",
        "evp"
       ],
       "type": "string"
      },
      "payload": {
       "type": "string",
       "description": "PIX copia-e-cola (BR Code) ready to paste in a bank app or render as a QR code."
      },
      "currency": {
       "type": "string"
      },
      "selfCheck": {
       "type": "object",
       "description": "The generated code decoded again: valid and CRC check."
      },
      "merchantCity": {
       "type": "string"
      },
      "merchantName": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/br-intelligence-pix-br-code-generator-255c4091/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from br-intelligence.brverify-api.workers.dev](https://www.zero.xyz/host/br-intelligence.brverify-api.workers.dev/llms.txt)
