@alexandrereys/pixqrcode
v1.0.41
Published
A library to generate Pix QR codes
Downloads
1,473
Readme
npm publish --access public
npm i @alexandrereys/pixqrcode
npm pack
npm run build pix-qrcode
npm login
npm config set //registry.npmjs.org/:_authToken=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
npm login --registry=https://registry.npmjs.org/
Chamada funcao da lib
await this.pixBBQrcodeService.pixBBQrCode("paykeyId", 0.01);
.env
PIX_CERT_PATH=./src/shared/certs/production/payloomm.pfx
Lib: pixqrcode
return { message: 'success', pixCopiaECola: response?.data.pixCopiaECola, txid, value: response?.data.valor.original, status: response?.data.status, date: response?.data.calendario.criacao, expiration: response?.data.calendario.expiracao, };
/payments/pix/qrcode/lib/
{ "txid": "77b0e6ab5e5440cd8f36dbe3297174ac", "payKeyId": "6d72c799-b8a7-4e85-b9e1-94397c603fbe", "qrCode": "00020101021226850014br.gov.bcb.pix2563qrcodepix.bb.com.br/pix/v2/fb58c80c-a01e-45ac-a1b3-76fbd760929a52040000530398654040.015802BR5925PAYLOOMM SISTEMA DE PAGAM6009SAO PAULO62070503**6304FE4B", "total": 0.01, "transactionInfo": { "message": "success", "pixCopiaECola": "00020101021226850014br.gov.bcb.pix2563qrcodepix.bb.com.br/pix/v2/fb58c80c-a01e-45ac-a1b3-76fbd760929a52040000530398654040.015802BR5925PAYLOOMM SISTEMA DE PAGAM6009SAO PAULO62070503**6304FE4B", "txid": "77b0e6ab5e5440cd8f36dbe3297174ac", "value": "0.01", "status": "ATIVA", "date": "2024-11-06T14:54:46.93-03:00", "expiration": 600 } }