
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
pixup-node-sdk
Advanced tools
SDK Node.js para facilitar a integração com o gateway de pagamentos Pixup, com suporte a autenticação via OAuth2 e geração de cobranças via Pix (QRCode dinâmico).
npm i pixup-node-sdk
Este SDK requer uma chave de licença válida para gerar cobranças Pix.
Você pode obter uma licença em:
"👉 Entre em contato via WhatsApp: https://wa.me/5548991300326"
Adicione sua chave ao ambiente .env:
PIXUP_LICENSE_KEY=sua_chave_licenca
Ou passe diretamente no initPixup:
const context = await initPixup({
clientId: process.env.PIXUP_CLIENT_ID,
clientSecret: process.env.PIXUP_CLIENT_SECRET,
licenseKey: process.env.PIXUP_LICENSE_KEY
});
Atualmente, o licenciamento da SDK é avaliado individualmente, com base no volume de uso e no tipo de aplicação.
Não existem planos fixos no momento.
📌 O modelo é flexível e pode incluir:
👉 Entre em contato via WhatsApp para avaliação e liberação de licença:
https://wa.me/5548991300326
Caso a licença seja inválida ou expirada, o SDK lançará:
Erro: Licença inválida ou expirada.
Crie um arquivo .env com suas credenciais:
PIXUP_CLIENT_ID=seu_client_id
PIXUP_CLIENT_SECRET=seu_client_secret
PIXUP_LICENSE_KEY=sua_chave_licenca
// index.js
const { initPixup, PixupPix } = require('pixup-node-sdk');
const context = await initPixup({
clientId: process.env.PIXUP_CLIENT_ID,
clientSecret: process.env.PIXUP_CLIENT_SECRET,
//baseUrl: process.env.PIXUP_BASE_URL || "https://api.pixupbr.com/v2",
licenseKey: process.env.PIXUP_LICENSE_KEY || "LEXLUTHOR"
});
const pix = new PixupPix(context);
const resposta = await pix.criarQrCode({
amount: 59.9,
external_id: "PEDIDO-1001",
postbackUrl: "https://meusite.com/webhook/pixup",
payerQuestion: "Qual o nome do produto?",
payer: {
name: "Fulano de Tal",
document: "12345678900", // CPF ou CNPJ
},
});
console.log("Payload (copia e cola):", resposta.qrcode);
console.log("External ID:", resposta.external_id);
console.log("Status inicial:", resposta.status);
O token é gerado e renovado automaticamente quando expira:
app.post('/webhook/pixup', express.json(), (req, res) => {
const evento = req.body;
console.log('Pagamento recebido!', evento);
// Exemplo: evento.status === 'CONFIRMED'
res.sendStatus(200);
});
⚠️ A assinatura do webhook ainda não é documentada oficialmente pela Pixup, então validações adicionais podem ser implementadas no futuro.
| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
amount | number | ✅ | Valor da cobrança em reais |
external_id | string | ✅ | ID do pedido gerado por você |
postbackUrl | string | ✅ | URL para receber callback |
payer | object | ❌ | Dados do pagador (nome, CPF) |
PixupClient unificadoMIT © LexLuthor
FAQs
SDK para integração com o gateway Pixup
We found that pixup-node-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.