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 Name | Type | Description | Examples |
---|---|---|---|
id | number or string required | Account id inside of Provider. | 22 5349b4ddd2781d08c09890f3 |
name | string required | Account name inside of Provider. It equals to id if the name isn't provided. | "Investment account" "Brokerage account" "*5647" |
type | string optional | Account type inside of the Provider. It makes sense when the Provider user has multiple accounts. | Dividend Investment |
balance | number | Account 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 Name | Type | Description | Examples |
---|---|---|---|
account id | number or string optional if the Provider user has a singular account. | The account id affected by transaction. | 22 5349b4ddd2781d08c09890f3 |
fees | number array of numbers array of objects | The fee charged by Provider. | 12 [12, 20] [{ "amount": 12, "type": "network" }] |
created_at | ISO 8601 datestring | Datetime when the transaction started. | 2016-03-31T02:38:24.000Z |
updated_at | ISO 8601 datestring | Datetime when the transaction last updated. | 2016-03-31T02:41:24.000Z |
amount | number | Amount of money (deposit or withdrawal). | 100 112.99 |