This chapter explains which data types and schemas are shared between MoneyMade Connect API and Provider using OAuth feature.

MoneyMade Connect OAuth gathers and shares the following data entities:

Account Entity

It represents user balance inside the provider.
Depends on Provider internal structure, user may have few balances or only one.
Typically, Account contains the following information:

Field NameTypeDescriptionExamples
idnumber or string
required
Account id inside of Provider.22
5349b4ddd2781d08c09890f3
namestring
required
Account name inside of Provider.
It equals to id if the name isn't provided.
"Investment account"

"Brokerage account"

"*5647"
typestring
optional
Account type inside of the Provider. It makes sense when the Provider user has multiple accounts.Dividend
Investment
balancenumberAccount balance inside of Provider.

Only USD balances are currently supported.
1200
22.25
0.15

Transaction Entity

It represents the account financial operation.
The account might have no transactions (In case it's newly created).

Typically, Transaction contains the following information:

Field NameTypeDescriptionExamples
account idnumber or string

optional if the Provider user has a singular account.
The account id affected by transaction.22
5349b4ddd2781d08c09890f3
feesnumber
array of numbers
array of objects
The fee charged by Provider.12
[12, 20]
[{ "amount": 12, "type": "network" }]
created_atISO 8601 datestringDatetime when the transaction started.2016-03-31T02:38:24.000Z
updated_atISO 8601 datestringDatetime when the transaction last updated.2016-03-31T02:41:24.000Z
amountnumberAmount of money (deposit or withdrawal).100
112.99

NOTE: If Provider supports Pushing Data Interchange strategy, each data entity should contain "user_id" field which equals to user id received in OAuth Request