Skip to content

Generators

finance

IBANs, card numbers, account numbers, currencies, transactions.

var faker = Faker(seed: 1337, locale: DecoyLocaleEN.locale)
faker.finance.accountType()
Method Example output
accountType() Home Loan
Credit Card
Investment
transactionType() invoice
withdrawal
payment
transactionDescription() deposit transaction at Reed PLLC using card ending with 4982 for 241.40
deposit transaction at Mcdowell CORP using card ending with 6734 for 115.65
deposit transaction at Battle, Wilder and Gosselin using card ending with 2996 for 295.45
accountNumber(digits: Int = 8) 73788508
89595393
82885223
routingNumber() 0514
0650
1010
currency() ["code": "VUV", "name": "Vanuatu Vatu", "numericCode": "548", "symbol": "VUV"]
["code": "AZN", "name": "Azerbaijani Manat", "numericCode": "944", "symbol": "AZN"]
["code": "FJD", "name": "Fijian Dollar", "numericCode": "242", "symbol": "FJD"]
currencyName() New Zealand Dollar
Liberian Dollar
Omani Rial
currencyCode() XAF
LBP
EUR
currencySymbol() CFPF
MAD
LKR
creditCardNumber(issuer: String? = nil) 6586093369993658
341011644098118
3014753238920
iban(country: String = "GB") GB14OFCI94368810097049
GB63NOZG46701700074781
GB27IOUT34909215275068
bitcoinAddress() 1JYzRY6zjJHXqQpybZGW6rxozC8PkJegmM
1BbDTEFyHn9TFcXd1yJzscMfzCijWE8Y3q
1H3nJpNKAydjNuw5JqXziuie9QJz2ugtnJ
ein() 23-7010264
81-8772345
03-3126324

Examples are real output from three different seeds, captured when this page was built, using each method’s default arguments. Where a signature shows parameters, pass your own to change the size, gender, length or format.