{
  "x402Version": 2,
  "id": 27238,
  "slug": "27238",
  "resource": "https://tools.miniframe.com.br/pix/brcode",
  "description": "Generate a Brazilian Pix BR Code (\"Copia e Cola\") plus QR PNG from a Pix key. JSON body: key, merchant_name required; amount, merchant_city, txid, description optional. Returns brcode and qr_png_base64.",
  "type": "http",
  "serviceName": "MiniFrame Tools",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x879933456986877f5d87e6ee24d1e0ebd264f527",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amount": 10.5,
            "key": "chave@email.com",
            "merchant_city": "SAO PAULO",
            "merchant_name": "Loja Exemplo",
            "txid": "PEDIDO123"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "brcode": "00020126...5802BR5912Loja Exemplo6009SAO PAULO6304ABCD",
            "qr_png_base64": "iVBORw0KGgo..."
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "amount": {
                    "description": "Amount in BRL (optional; omit for an open-value code).",
                    "type": "number"
                  },
                  "description": {
                    "description": "Message to the payer (optional).",
                    "type": "string"
                  },
                  "key": {
                    "description": "Pix key: CPF/CNPJ, email, phone (+55...) or random key.",
                    "type": "string"
                  },
                  "merchant_city": {
                    "description": "Receiver city, max 15 chars (optional, default BRASIL).",
                    "type": "string"
                  },
                  "merchant_name": {
                    "description": "Receiver name, max 25 chars.",
                    "type": "string"
                  },
                  "txid": {
                    "description": "Reference label, max 25 chars (optional).",
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "merchant_name"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "pix",
    "brazil",
    "payments",
    "qrcode",
    "bazaar"
  ],
  "sourceHost": "tools.miniframe.com.br",
  "lastUpdated": "2026-10-08T05:33:01.505Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T05:33:00.547Z"
  },
  "metadata": {
    "serviceName": "MiniFrame Tools",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amount": 10.5,
              "key": "chave@email.com",
              "merchant_city": "SAO PAULO",
              "merchant_name": "Loja Exemplo",
              "txid": "PEDIDO123"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "brcode": "00020126...5802BR5912Loja Exemplo6009SAO PAULO6304ABCD",
              "qr_png_base64": "iVBORw0KGgo..."
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "amount": {
                      "description": "Amount in BRL (optional; omit for an open-value code).",
                      "type": "number"
                    },
                    "description": {
                      "description": "Message to the payer (optional).",
                      "type": "string"
                    },
                    "key": {
                      "description": "Pix key: CPF/CNPJ, email, phone (+55...) or random key.",
                      "type": "string"
                    },
                    "merchant_city": {
                      "description": "Receiver city, max 15 chars (optional, default BRASIL).",
                      "type": "string"
                    },
                    "merchant_name": {
                      "description": "Receiver name, max 25 chars.",
                      "type": "string"
                    },
                    "txid": {
                      "description": "Reference label, max 25 chars (optional).",
                      "type": "string"
                    }
                  },
                  "required": [
                    "key",
                    "merchant_name"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tools.miniframe.com.br",
    "manifest_name": "tools.miniframe.com.br",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}