forked from mxenabled/atrium-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_account.go
50 lines (48 loc) · 2.89 KB
/
model_account.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* MX API
*
* The MX Atrium API supports over 48,000 data connections to thousands of financial institutions. It provides secure access to your users' accounts and transactions with industry-leading cleansing, categorization, and classification. Atrium is designed according to resource-oriented REST architecture and responds with JSON bodies and HTTP response codes. Use Atrium's development environment, vestibule.mx.com, to quickly get up and running. The development environment limits are 100 users, 25 members per user, and access to the top 15 institutions. Contact MX to purchase production access.
*
* API version: 0.1
*/
package atrium
type Account struct {
AccountNumber string `json:"account_number,omitempty"`
Apr float32 `json:"apr,omitempty"`
Apy float32 `json:"apy,omitempty"`
AvailableBalance float32 `json:"available_balance,omitempty"`
AvailableCredit float32 `json:"available_credit,omitempty"`
Balance float32 `json:"balance,omitempty"`
CashBalance float32 `json:"cash_balance,omitempty"`
CashSurrenderValue float32 `json:"cash_surrender_value,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
CreditLimit float32 `json:"credit_limit,omitempty"`
CurrencyCode string `json:"currency_code,omitempty"`
DayPaymentIsDue int32 `json:"day_payment_is_due,omitempty"`
DeathBenefit float32 `json:"death_benefit,omitempty"`
GUID string `json:"guid,omitempty"`
HoldingsValue float32 `json:"holdings_value,omitempty"`
InsuredName string `json:"insured_name,omitempty"`
InstitutionCode string `json:"institution_code,omitempty"`
InterestRate float32 `json:"interest_rate,omitempty"`
IsClosed bool `json:"is_closed,omitempty"`
LastPayment float32 `json:"last_payment,omitempty"`
LastPaymentAt string `json:"last_payment_at,omitempty"`
LoanAmount float32 `json:"loan_amount,omitempty"`
MaturesOn string `json:"matures_on,omitempty"`
MemberGUID string `json:"member_guid,omitempty"`
MinimumBalance float32 `json:"minimum_balance,omitempty"`
MinimumPayment float32 `json:"minimum_payment,omitempty"`
Name string `json:"name,omitempty"`
OriginalBalance float32 `json:"original_balance,omitempty"`
PaymentDueAt string `json:"payment_due_at,omitempty"`
PayoffBalance float32 `json:"payoff_balance,omitempty"`
PayOutAmount float32 `json:"pay_out_amount,omitempty"`
PremiumAmount float32 `json:"premium_amount,omitempty"`
StartedOn string `json:"started_on,omitempty"`
Subtype string `json:"subtype,omitempty"`
TotalAccountValue float32 `json:"total_account_value,omitempty"`
Type_ string `json:"type,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
UserGUID string `json:"user_guid,omitempty"`
}