1.0.4 • Published 2 years ago
@pix-qrcode/lib v1.0.4
@pix-qrcode/lib
createPixCode()
args: key
, amount
, name
, key_time
, city
key
: string key for pix transactionamount
: number in BRL for transfer amountname
: string of the name of the beneficiarykey_type
: string of one of the 'telefone' | 'cnpj' | 'cpf' | 'email'
typescity
: string of the city of the transfer
createQrCode()
args: data
, size
: { width, height }
data
: string of any data, best used with createPixCode()
size
: object with { width, height }