Skip to Main Content

page_parts

Finance

Account balance
An amount for a bank account balance.
Function name(s):
account_balancefinance_random.r_accountbalance
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
accounttype Text [Current Account,Investment Account,Savi... Fixed type of account
Example output:
{
    "Account balance": {
            "r_accountbalance": "4474.96"
        }
}
Account transaction
Account transaction, such as Debit or Interest.
Function name(s):
account_transactionfinance_random.r_accounttransaction
Locales supported:
Parameters:
Name Type Bound Input Description
accounttype Text [Current Account,Investment Account,Savi... Fixed type of account
Example output:
{
    "Account transaction": {
            "r_accounttransaction": "Buy"
        }
}
Account type
Bank account type, such as Savings or Settlement.
Function name(s):
account_typefinance_random.r_accounttype
Locales supported:
Parameters:
Name Type Bound Input Description
Example output:
{
    "Account type": {
            "r_accounttype": "Savings Account"
        }
}
Amount
An amount for a financial transaction.
Function name(s):
amountfinance_random.r_amount
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
min Number Minimum value
max Number Maximum value
precision Number Decimal count
w_min Number Weighted minimum value
w_max Number Weighted maximum value
weight Number [1, 100] Chance of hitting weighted range
Example output:
{
    "Amount": {
            "r_amount": "1547.93"
        }
}
Bank account ID
IBAN compatible bank account ID.
Function name(s):
bank_account_idfinance_random.r_accountnumber
Locales supported:
Parameters:
Name Type Bound Input Description
country Text ISO 2 letter country code
iban Text [Yes,No] Only IBAN account numbers?
Example output:
{
    "Bank account ID": {
            "r_accountnumber": "AZ61Cfud65995638848347546673"
        }
}
Bitcoin address
Bitcoin hash addresss.
Function name(s):
bitcoin_addressfinance_random.r_bitcoin
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "Bitcoin address": {
            "r_bitcoin": "3cNuYoWkDgJyre3DppfxSut4jVu9dmJKS"
        }
}
Credit card expiry
Date for expiry of a credit card.
Function name(s):
credit_card_expiryfinance_random.r_expirydate
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
future Text [Yes,No] Expire in the future?
Example output:
{
    "Credit card expiry": {
            "r_expirydate": "10/2024"
        }
}
Credit card name
The name of a credit card, such as VISA or AMEX.
Function name(s):
credit_card_namefinance_random.r_creditcard
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
shortform Text [Yes,No] Shortform (American Express/AMEX)
Example output:
{
    "Credit card name": {
            "r_creditcard": "dcenroute"
        }
}
Credit card number
Luhn compatible creditcard number.
Function name(s):
credit_card_numberfinance_random.r_creditcardnum
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
creditcard Text Name of the credit card.
Example output:
{
    "Credit card number": {
            "r_creditcardnum": "6304784125207104"
        }
}
Credit card transaction
Generate a random creditcard transaction type.
Function name(s):
credit_card_transactionfinance_random.r_creditcard_tx_type
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "Credit card transaction": {
            "r_creditcard_tx_type": "Authorization with Auto Capture"
        }
}
Crypto currency
A crypto currency name.
Function name(s):
crypto_currencyfinance_random.r_cryptocurrency
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
Example output:
{
    "Crypto currency": {
            "r_cryptocurrency": "XRP"
        }
}
Currency
ISO 4217 name of a currency.
Function name(s):
currencyfinance_random.r_currency
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
shortform Text [Yes,No] Shortform (Danske Kroner/DKK)
Example output:
{
    "Currency": {
            "r_currency": "BMD"
        }
}
Currency pair
A currency pair for FX.
Function name(s):
currency_pairfinance_random.r_currencypair
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
base_currency Text Fixed Base currency (ISO 4217 code)
quote_currency Text Fixed Quote currency (ISO 4217 code)
Example output:
{
    "Currency pair": {
            "r_currencypair": "EUR/USD"
        }
}
Stock exchange
Name of a stock exchange.
Function name(s):
stock_exchangefinance_random.r_exchange
Locales supported:
Not a locale specific domain.
Parameters:
Name Type Bound Input Description
shortform Text [Yes,No] Shortform (Nasdaq/NDAQ)
Example output:
{
    "Stock exchange": {
            "r_exchange": "MYX"
        }
}
Swift
Banking swift codes.
Function name(s):
swiftfinance_random.r_swift
Locales supported:
Parameters:
Name Type Bound Input Description
country Text ISO 2 letter country code
Example output:
{
    "Swift": {
            "r_swift": "CITIUS33DEL"
        }
}
Transaction status
Status of a banking transaction.
Function name(s):
transaction_statusfinance_random.r_transaction_status
Locales supported:
Parameters:
Name Type Bound Input Description
chance_success Number [1, 100] Chance of successful transaction
Example output:
{
    "Transaction status": {
            "r_transaction_status": "Failed"
        }
}

Anchor Points

On this page

  • Account balance
  • Account transaction
  • Account type
  • Amount
  • Bank account ID
  • Bitcoin address
  • Credit card expiry
  • Credit card name
  • Credit card number
  • Credit card transaction
  • Crypto currency
  • Currency
  • Currency pair
  • Stock exchange
  • Swift
  • Transaction status