# finance

# account([length])

Return random account number

TIP

Param Type Default
length number 8
faker.finance.account(); // 30764440
faker.finance.account(12); // 194294967472

# accountName

Return random account name

faker.finance.accountName(); // Investment Account 

# routingNumber 5.0.0+

Return random routing number

faker.finance.routingNumber();

# mask([length, parens, ellipsis])

Return random mask

TIP

Param Type Default
length number 4
parens boolean false
ellipsis boolean false
faker.finance.mask(); // 8493
faker.finance.mask(5, true); // (17126) 
faker.finance.mask(5, true, true); // (...17126)
faker.finance.mask(5, false, true); // ...17126

# amount([min, max, dec, symbol])

Return random amount

TIP

Param Type Default
min number 0
max number 1000
dec number 2
symbol string ''
faker.finance.amount(); // 466.98 
faker.finance.amount(42); // 197.40  
faker.finance.amount(42, 43); // 42.24
faker.finance.amount(42, 43, 10); // 42.1601538648 
faker.finance.amount(42, 43, 2, '$'); // $42.89

# transactionType

Return random transaction type

faker.finance.transactionType(); // withdrawal

# currencyCode

Return random currency code

faker.finance.currencyCode(); // HTG USD

# currencyName

Return random currency name

faker.finance.currencyName(); // Hryvnia

# currencySymbol

Return random currency symbol

faker.finance.currencySymbol(); // £

# bitcoinAddress

Return random bitcoin address

faker.finance.bitcoinAddress(); // 3FINQD7C6JW7XPF4NMNHOJYAXLKLP

# creditCardNumber([provider]) 5.0.0+

Return random credit card number

TIP

Param Type Default
provider string ''
faker.finance.creditCardNumber();

# creditCardCVV 5.0.0+

Return random credit card CVV

faker.finance.creditCardCVV();

# ethereumAddress 5.0.0+

Return random ethereum address

faker.finance.ethereumAddress();

# iban([formated])

Return random iban

TIP

Param Type Default
formated boolean false
faker.finance.iban(); // BE56302102061244
faker.finance.iban(true); // GI29 MRCH LR1V 0284 KE24 6K8

# bic

Return random bic

faker.finance.bic(); // OUAIDGK1