The Wallet Model

A wallet is an account that stores cash. It’s similar to a regular savings account. Investment API wallet earns interest on a daily basis. This makes it different from regular wallets.

An Investment API wallet has a bank account number. If money is paid into this bank account number, it comes to the wallet directly.

Wallets have currencies attached to them, so a user can decide to create a Dollar wallet or NGN wallet or other currencies.

{
  "wallet_id":"1663e7afa1764a6a9448c788a5ab7490",
  "account_id":"f05b98b0f834408f8a01bcc62cf74f2a",
  "name":"USD-Wallet",
  "product_code":"PRCDE342656124",
  "currency":"USD",
  "principal":"50000000.0000",
  "returns":"0.00000",
  "lifetime_returns":"0.00000",
  "balance":"50000000.000",
  "account_number":"",
  "account_name":"",
  "bank_name":"",
  "created_on":"2021-07-16T12:45:23.293044+00:00"
}
Sample Wallet Model

Attributes

wallet_id
string
unique identifier of wallet
account_id
string
unique identifier of wallet owner's account
name
string
user specified wallet name
product_code
string
auto generated product code
currency
string
the currency code which follows ISO-4217 standard
principal
string
wallet principal
returns
string
returns available in wallet
lifetime_returns
string
wallet lifetime returns
balance
string
wallet balance
account_number
string
wallet account number
account_name
string
name of wallet account number
bank_name
string
bank name of wallet account number
created_on
string
wallet creation date