plaider 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +11 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +57 -0
- data/LICENSE.txt +22 -0
- data/README.md +91 -0
- data/Rakefile +10 -0
- data/lib/plaider.rb +29 -0
- data/lib/plaider/client.rb +146 -0
- data/lib/plaider/configurable.rb +20 -0
- data/lib/plaider/version.rb +3 -0
- data/plaider.gemspec +24 -0
- data/test/fixtures/balance.json +82 -0
- data/test/fixtures/categories.json +36 -0
- data/test/fixtures/category.json +35 -0
- data/test/fixtures/connect.json +516 -0
- data/test/fixtures/connect_invalid.json +5 -0
- data/test/fixtures/connect_mfa.json +9 -0
- data/test/fixtures/connect_mfa_invalid.json +5 -0
- data/test/fixtures/delete_user.json +3 -0
- data/test/fixtures/entity.json +19 -0
- data/test/fixtures/institution.json +15 -0
- data/test/fixtures/institutions.json +175 -0
- data/test/plaider/client_test.rb +204 -0
- data/test/plaider/plaider_test.rb +50 -0
- data/test/test_helper.rb +45 -0
- metadata +115 -0
@@ -0,0 +1,82 @@
|
|
1
|
+
{
|
2
|
+
"accounts": [
|
3
|
+
{
|
4
|
+
"_id": "52db1be4be13cbc36e000004",
|
5
|
+
"_item": "52af631671c3bd1b25000064",
|
6
|
+
"_user": "52af630f71c3bd1b25000063",
|
7
|
+
"balance": {
|
8
|
+
"available": 1203.42,
|
9
|
+
"current": 1274.93
|
10
|
+
},
|
11
|
+
"institution_type": "fake_institution",
|
12
|
+
"meta": {
|
13
|
+
"number": "9606",
|
14
|
+
"name": "Plaid Savings"
|
15
|
+
},
|
16
|
+
"numbers": {
|
17
|
+
"routing": "021000021",
|
18
|
+
"account": "9900009606",
|
19
|
+
"wireRouting": "021000021"
|
20
|
+
},
|
21
|
+
"type": "depository"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"_id": "52db1be4be13cbc36e000005",
|
25
|
+
"_item": "52af631671c3bd1b25000064",
|
26
|
+
"_user": "52af630f71c3bd1b25000063",
|
27
|
+
"balance": {
|
28
|
+
"available": 1081.78,
|
29
|
+
"current": 1253.32
|
30
|
+
},
|
31
|
+
"institution_type": "fake_institution",
|
32
|
+
"meta": {
|
33
|
+
"number": "1702",
|
34
|
+
"name": "Plaid Checking"
|
35
|
+
},
|
36
|
+
"numbers": {
|
37
|
+
"routing": "021000021",
|
38
|
+
"account": "9900001702",
|
39
|
+
"wireRouting": "021000021"
|
40
|
+
},
|
41
|
+
"type": "depository"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"_id": "52db1be4be13cbc36e000007",
|
45
|
+
"_item": "52af631671c3bd1b25000064",
|
46
|
+
"_user": "52af630f71c3bd1b25000063",
|
47
|
+
"balance": {
|
48
|
+
"available": 7205.23,
|
49
|
+
"current": 7255.23
|
50
|
+
},
|
51
|
+
"institution_type": "fake_institution",
|
52
|
+
"meta": {
|
53
|
+
"number": "5204",
|
54
|
+
"name": "Plaid Premier Checking"
|
55
|
+
},
|
56
|
+
"numbers": {
|
57
|
+
"routing": "021000021",
|
58
|
+
"account": "9900005204",
|
59
|
+
"wireRouting": "021000021"
|
60
|
+
},
|
61
|
+
"type": "depository"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"_id": "52db1be4be13cbc36e000006",
|
65
|
+
"_item": "52af631671c3bd1b25000064",
|
66
|
+
"_user": "52af630f71c3bd1b25000063",
|
67
|
+
"balance": {
|
68
|
+
"available": 9930,
|
69
|
+
"current": 2275.58
|
70
|
+
},
|
71
|
+
"institution_type": "fake_institution",
|
72
|
+
"meta": {
|
73
|
+
"limit": 12500,
|
74
|
+
"number": "93002",
|
75
|
+
"name": "Plaid Credit Card"
|
76
|
+
},
|
77
|
+
"numbers": {},
|
78
|
+
"type": "credit"
|
79
|
+
}
|
80
|
+
],
|
81
|
+
"access_token": "test"
|
82
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"_id": "53742c8c4fd7f2f065000002",
|
4
|
+
"hierarchy": [
|
5
|
+
"Transfer",
|
6
|
+
"Deposit",
|
7
|
+
"Check"
|
8
|
+
],
|
9
|
+
"mappings": []
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"_id": "53742da54fd7f2f065000003",
|
13
|
+
"hierarchy": [
|
14
|
+
"Transfer",
|
15
|
+
"Withdrawal",
|
16
|
+
"Check"
|
17
|
+
],
|
18
|
+
"mappings": []
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"_id": "537431254fd7f2f065000004",
|
22
|
+
"hierarchy": [
|
23
|
+
"Transfer",
|
24
|
+
"Credit"
|
25
|
+
],
|
26
|
+
"mappings": []
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"_id": "537432ae4fd7f2f065000005",
|
30
|
+
"hierarchy": [
|
31
|
+
"Payment",
|
32
|
+
"Credit Card"
|
33
|
+
],
|
34
|
+
"mappings": []
|
35
|
+
}
|
36
|
+
]
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"_id": "52544965f71e87d007000008",
|
3
|
+
"hierarchy": [
|
4
|
+
"Arts and Entertainment",
|
5
|
+
"Circuses and Carnivals"
|
6
|
+
],
|
7
|
+
"mappings": [
|
8
|
+
{
|
9
|
+
"map_type": "foursquare",
|
10
|
+
"hierarchy": [
|
11
|
+
"Professional & Other Places",
|
12
|
+
"Fair",
|
13
|
+
""
|
14
|
+
]
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"map_type": "factual",
|
18
|
+
"hierarchy": [
|
19
|
+
"Social",
|
20
|
+
"Entertainment",
|
21
|
+
"Circuses",
|
22
|
+
""
|
23
|
+
]
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"map_type": "factual",
|
27
|
+
"hierarchy": [
|
28
|
+
"Social",
|
29
|
+
"Entertainment",
|
30
|
+
"Carnivals",
|
31
|
+
""
|
32
|
+
]
|
33
|
+
}
|
34
|
+
]
|
35
|
+
}
|
@@ -0,0 +1,516 @@
|
|
1
|
+
{
|
2
|
+
"accounts": [
|
3
|
+
{
|
4
|
+
"_id": "52db1be4be13cbc36e000004",
|
5
|
+
"_item": "52af631671c3bd1b25000064",
|
6
|
+
"_user": "52af630f71c3bd1b25000063",
|
7
|
+
"balance": {
|
8
|
+
"available": 1203.42,
|
9
|
+
"current": 1274.93
|
10
|
+
},
|
11
|
+
"institution_type": "fake_institution",
|
12
|
+
"meta": {
|
13
|
+
"number": "9606",
|
14
|
+
"name": "Plaid Savings"
|
15
|
+
},
|
16
|
+
"type": "depository"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"_id": "52db1be4be13cbc36e000005",
|
20
|
+
"_item": "52af631671c3bd1b25000064",
|
21
|
+
"_user": "52af630f71c3bd1b25000063",
|
22
|
+
"balance": {
|
23
|
+
"available": 1081.78,
|
24
|
+
"current": 1253.32
|
25
|
+
},
|
26
|
+
"institution_type": "fake_institution",
|
27
|
+
"meta": {
|
28
|
+
"number": "1702",
|
29
|
+
"name": "Plaid Checking"
|
30
|
+
},
|
31
|
+
"type": "depository"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"_id": "52db1be4be13cbc36e000007",
|
35
|
+
"_item": "52af631671c3bd1b25000064",
|
36
|
+
"_user": "52af630f71c3bd1b25000063",
|
37
|
+
"balance": {
|
38
|
+
"available": 7205.23,
|
39
|
+
"current": 7255.23
|
40
|
+
},
|
41
|
+
"institution_type": "fake_institution",
|
42
|
+
"meta": {
|
43
|
+
"number": "5204",
|
44
|
+
"name": "Plaid Premier Checking"
|
45
|
+
},
|
46
|
+
"type": "depository"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"_id": "52db1be4be13cbc36e000006",
|
50
|
+
"_item": "52af631671c3bd1b25000064",
|
51
|
+
"_user": "52af630f71c3bd1b25000063",
|
52
|
+
"balance": {
|
53
|
+
"available": 9930,
|
54
|
+
"current": 2275.58
|
55
|
+
},
|
56
|
+
"institution_type": "fake_institution",
|
57
|
+
"meta": {
|
58
|
+
"limit": 12500,
|
59
|
+
"number": "93002",
|
60
|
+
"name": "Plaid Credit Card"
|
61
|
+
},
|
62
|
+
"type": "credit"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"transactions": [
|
66
|
+
{
|
67
|
+
"_account": "52db1be4be13cbc36e000006",
|
68
|
+
"_entity": "539c40548590c9d05eaec20a",
|
69
|
+
"_id": "53b204dffda49edae5000010",
|
70
|
+
"amount": 2307.15,
|
71
|
+
"date": "2014-06-23",
|
72
|
+
"name": "Apple Store",
|
73
|
+
"meta": {
|
74
|
+
"location": {
|
75
|
+
"address": "1 Stockton St",
|
76
|
+
"city": "San Francisco",
|
77
|
+
"state": "CA"
|
78
|
+
}
|
79
|
+
},
|
80
|
+
"pending": false,
|
81
|
+
"score": {
|
82
|
+
"master": 1,
|
83
|
+
"detail": {
|
84
|
+
"address": 1,
|
85
|
+
"city": 1,
|
86
|
+
"name": 1,
|
87
|
+
"state": 1
|
88
|
+
}
|
89
|
+
},
|
90
|
+
"type": {
|
91
|
+
"primary": "place"
|
92
|
+
},
|
93
|
+
"category": [
|
94
|
+
"Shops",
|
95
|
+
"Computers and Electronics"
|
96
|
+
],
|
97
|
+
"category_id": "52544965f71e87d00700018a"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"_account": "52db1be4be13cbc36e000005",
|
101
|
+
"_entity": "53b20530fda49edae500001a",
|
102
|
+
"_id": "53b204d9fda49edae500000f",
|
103
|
+
"amount": 3.19,
|
104
|
+
"date": "2014-06-21",
|
105
|
+
"name": "Gregorys Coffee",
|
106
|
+
"meta": {
|
107
|
+
"location": {
|
108
|
+
"address": "874 Avenue of the Americas",
|
109
|
+
"city": "New York",
|
110
|
+
"state": "NY"
|
111
|
+
}
|
112
|
+
},
|
113
|
+
"pending": false,
|
114
|
+
"score": {
|
115
|
+
"master": 1,
|
116
|
+
"detail": {
|
117
|
+
"state": 1,
|
118
|
+
"name": 1,
|
119
|
+
"city": 1,
|
120
|
+
"address": 1
|
121
|
+
}
|
122
|
+
},
|
123
|
+
"type": {
|
124
|
+
"primary": "place"
|
125
|
+
},
|
126
|
+
"category": [
|
127
|
+
"Food and Drink",
|
128
|
+
"Restaurants",
|
129
|
+
"Coffee Shop"
|
130
|
+
],
|
131
|
+
"category_id": "52544965f71e87d00700005d"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"_account": "52db1be4be13cbc36e000005",
|
135
|
+
"_entity": "53b2052afda49edae5000019",
|
136
|
+
"_id": "53b204d4fda49edae500000e",
|
137
|
+
"amount": 80,
|
138
|
+
"date": "2014-06-08",
|
139
|
+
"name": "ATM Withdrawal",
|
140
|
+
"meta": {
|
141
|
+
"location": {
|
142
|
+
"city": "San Francisco",
|
143
|
+
"state": "CA"
|
144
|
+
}
|
145
|
+
},
|
146
|
+
"pending": false,
|
147
|
+
"score": {
|
148
|
+
"master": 1,
|
149
|
+
"detail": {
|
150
|
+
"state": 1,
|
151
|
+
"city": 1
|
152
|
+
}
|
153
|
+
},
|
154
|
+
"type": {
|
155
|
+
"primary": "special"
|
156
|
+
},
|
157
|
+
"category": [
|
158
|
+
"Transfer",
|
159
|
+
"Withdrawal",
|
160
|
+
"ATM"
|
161
|
+
],
|
162
|
+
"category_id": "5374277870d8a0ac6500001c"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"_account": "52db1be4be13cbc36e000004",
|
166
|
+
"_entity": "53b20522fda49edae5000018",
|
167
|
+
"_id": "53b204cefda49edae500000d",
|
168
|
+
"amount": -240,
|
169
|
+
"date": "2014-06-02",
|
170
|
+
"name": "Online Transfer from Chk ...1702",
|
171
|
+
"meta": {},
|
172
|
+
"pending": false,
|
173
|
+
"score": {
|
174
|
+
"master": 1
|
175
|
+
},
|
176
|
+
"type": {
|
177
|
+
"primary": "special"
|
178
|
+
},
|
179
|
+
"category": [
|
180
|
+
"Transfer",
|
181
|
+
"Deposit"
|
182
|
+
],
|
183
|
+
"category_id": "5374271970d8a0ac6500000a"
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"_account": "52db1be4be13cbc36e000005",
|
187
|
+
"_entity": "53b20519fda49edae5000017",
|
188
|
+
"_id": "53b204c9fda49edae500000c",
|
189
|
+
"amount": 240,
|
190
|
+
"date": "2014-06-01",
|
191
|
+
"name": "Online Transfer to Sav ...9606",
|
192
|
+
"meta": {},
|
193
|
+
"pending": false,
|
194
|
+
"score": {
|
195
|
+
"master": 1
|
196
|
+
},
|
197
|
+
"type": {
|
198
|
+
"primary": "special"
|
199
|
+
},
|
200
|
+
"category": [
|
201
|
+
"Transfer",
|
202
|
+
"Account Transfer"
|
203
|
+
],
|
204
|
+
"category_id": "5374272370d8a0ac6500000c"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"_account": "52db1be4be13cbc36e000005",
|
208
|
+
"_entity": "53b20510fda49edae5000016",
|
209
|
+
"_id": "53b204c4fda49edae500000b",
|
210
|
+
"amount": -0.93,
|
211
|
+
"date": "2014-05-17",
|
212
|
+
"name": "Interest Payment",
|
213
|
+
"meta": {},
|
214
|
+
"pending": false,
|
215
|
+
"score": {
|
216
|
+
"master": 1
|
217
|
+
},
|
218
|
+
"type": {
|
219
|
+
"primary": "unresolved"
|
220
|
+
},
|
221
|
+
"category": [
|
222
|
+
"Interest"
|
223
|
+
],
|
224
|
+
"category_id": "537426db70d8a0ac65000005"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"_account": "52db1be4be13cbc36e000006",
|
228
|
+
"_entity": "53aadb96e4ec365c5384db1f",
|
229
|
+
"_id": "53b204bafda49edae500000a",
|
230
|
+
"amount": 12.74,
|
231
|
+
"date": "2014-05-12",
|
232
|
+
"name": "Golden Crepes",
|
233
|
+
"meta": {
|
234
|
+
"location": {
|
235
|
+
"address": "262 W 15th St",
|
236
|
+
"city": "New York",
|
237
|
+
"state": "NY",
|
238
|
+
"coordinates": {
|
239
|
+
"lng": -74.001761,
|
240
|
+
"lat": 40.740352
|
241
|
+
}
|
242
|
+
}
|
243
|
+
},
|
244
|
+
"pending": false,
|
245
|
+
"score": {
|
246
|
+
"master": 1,
|
247
|
+
"detail": {
|
248
|
+
"address": 1,
|
249
|
+
"city": 1,
|
250
|
+
"name": 1,
|
251
|
+
"state": 1
|
252
|
+
}
|
253
|
+
},
|
254
|
+
"type": {
|
255
|
+
"primary": "place"
|
256
|
+
},
|
257
|
+
"category": [
|
258
|
+
"Food and Drink",
|
259
|
+
"Restaurants"
|
260
|
+
],
|
261
|
+
"category_id": "52544965f71e87d00700004c"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"_account": "52db1be4be13cbc36e000005",
|
265
|
+
"_entity": "53b20507fda49edae5000015",
|
266
|
+
"_id": "53b204affda49edae5000008",
|
267
|
+
"amount": 7.23,
|
268
|
+
"date": "2014-05-09",
|
269
|
+
"name": "Krankies Coffee",
|
270
|
+
"meta": {
|
271
|
+
"location": {
|
272
|
+
"address": "211 E 3rd St",
|
273
|
+
"city": "Winston Salem",
|
274
|
+
"state": "NC"
|
275
|
+
}
|
276
|
+
},
|
277
|
+
"pending": false,
|
278
|
+
"score": {
|
279
|
+
"master": 1,
|
280
|
+
"detail": {
|
281
|
+
"city": 1,
|
282
|
+
"name": 1,
|
283
|
+
"state": 1,
|
284
|
+
"address": 1
|
285
|
+
}
|
286
|
+
},
|
287
|
+
"type": {
|
288
|
+
"primary": "place"
|
289
|
+
},
|
290
|
+
"category": [
|
291
|
+
"Food and Drink",
|
292
|
+
"Restaurants",
|
293
|
+
"Coffee Shop"
|
294
|
+
],
|
295
|
+
"category_id": "52544965f71e87d00700005d"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"_account": "52db1be4be13cbc36e000006",
|
299
|
+
"_entity": "53adc1b4f48a62f6697f2146",
|
300
|
+
"_id": "53b204a9fda49edae5000007",
|
301
|
+
"amount": 118.23,
|
302
|
+
"date": "2014-04-26",
|
303
|
+
"name": "Banana Republic",
|
304
|
+
"meta": {},
|
305
|
+
"pending": false,
|
306
|
+
"score": {
|
307
|
+
"master": 1
|
308
|
+
},
|
309
|
+
"type": {
|
310
|
+
"primary": "digital"
|
311
|
+
},
|
312
|
+
"category": [
|
313
|
+
"Shops",
|
314
|
+
"Digital Purchase"
|
315
|
+
],
|
316
|
+
"category_id": "52544965f71e87d007000193"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"_account": "52db1be4be13cbc36e000005",
|
320
|
+
"_entity": "53b20500fda49edae5000015",
|
321
|
+
"_id": "53b204a3fda49edae5000007",
|
322
|
+
"amount": -800,
|
323
|
+
"date": "2014-04-20",
|
324
|
+
"name": "Venmo Cashout 18375552",
|
325
|
+
"meta": {},
|
326
|
+
"pending": false,
|
327
|
+
"score": {
|
328
|
+
"master": 1
|
329
|
+
},
|
330
|
+
"type": {
|
331
|
+
"primary": "special"
|
332
|
+
},
|
333
|
+
"category": [
|
334
|
+
"Transfer",
|
335
|
+
"Third Party",
|
336
|
+
"Venmo"
|
337
|
+
],
|
338
|
+
"category_id": "5374273970d8a0ac65000010"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"_account": "52db1be4be13cbc36e000005",
|
342
|
+
"_entity": "53b20500fda49edae5000014",
|
343
|
+
"_id": "53b204a3fda49edae5000006",
|
344
|
+
"amount": 120,
|
345
|
+
"date": "2014-04-19",
|
346
|
+
"name": "Venmo Payment 16991172",
|
347
|
+
"meta": {},
|
348
|
+
"pending": false,
|
349
|
+
"score": {
|
350
|
+
"master": 1
|
351
|
+
},
|
352
|
+
"type": {
|
353
|
+
"primary": "special"
|
354
|
+
},
|
355
|
+
"category": [
|
356
|
+
"Transfer",
|
357
|
+
"Third Party",
|
358
|
+
"Venmo"
|
359
|
+
],
|
360
|
+
"category_id": "5374273970d8a0ac65000010"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"_account": "52db1be4be13cbc36e000006",
|
364
|
+
"_entity": "53ad80bbe4ec365c53900b4c",
|
365
|
+
"_id": "53b20496fda49edae5000004",
|
366
|
+
"amount": 5.32,
|
367
|
+
"date": "2014-04-17",
|
368
|
+
"name": "Octane Coffee Bar and Lounge",
|
369
|
+
"meta": {
|
370
|
+
"location": {
|
371
|
+
"address": "1009 Marietta St Nw # B",
|
372
|
+
"city": "Atlanta",
|
373
|
+
"state": "GA"
|
374
|
+
}
|
375
|
+
},
|
376
|
+
"pending": false,
|
377
|
+
"score": {
|
378
|
+
"master": 1,
|
379
|
+
"detail": {
|
380
|
+
"address": 1,
|
381
|
+
"city": 1,
|
382
|
+
"name": 1,
|
383
|
+
"state": 1
|
384
|
+
}
|
385
|
+
},
|
386
|
+
"type": {
|
387
|
+
"primary": "place"
|
388
|
+
},
|
389
|
+
"category": [
|
390
|
+
"Food and Drink",
|
391
|
+
"Restaurants",
|
392
|
+
"Coffee Shop"
|
393
|
+
],
|
394
|
+
"category_id": "52544965f71e87d00700005d"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"_account": "52db1be4be13cbc36e000006",
|
398
|
+
"_entity": "52b398a3573660b2540021b0",
|
399
|
+
"_id": "53b2048dfda49edae5000003",
|
400
|
+
"amount": 28.57,
|
401
|
+
"date": "2014-04-11",
|
402
|
+
"name": "Papa John's Pizza",
|
403
|
+
"meta": {
|
404
|
+
"location": {
|
405
|
+
"address": "2625 David Dr",
|
406
|
+
"city": "Metairie",
|
407
|
+
"state": "LA",
|
408
|
+
"zip": "70003",
|
409
|
+
"coordinates": {
|
410
|
+
"lat": 29.999986,
|
411
|
+
"lng": -90.21869
|
412
|
+
}
|
413
|
+
},
|
414
|
+
"contact": {
|
415
|
+
"telephone": "5044557272"
|
416
|
+
},
|
417
|
+
"ids": {
|
418
|
+
"factual": "616f53b5-917e-4810-9540-b6cdbb272916",
|
419
|
+
"foursquare": "4bc89efb15a7ef3b587a7bda"
|
420
|
+
}
|
421
|
+
},
|
422
|
+
"pending": false,
|
423
|
+
"score": {
|
424
|
+
"master": 1,
|
425
|
+
"detail": {
|
426
|
+
"name": 1,
|
427
|
+
"state": 1,
|
428
|
+
"address": 1
|
429
|
+
}
|
430
|
+
},
|
431
|
+
"type": {
|
432
|
+
"primary": "place"
|
433
|
+
},
|
434
|
+
"category": [
|
435
|
+
"Food and Drink",
|
436
|
+
"Restaurants",
|
437
|
+
"Pizza"
|
438
|
+
],
|
439
|
+
"category_id": "52544965f71e87d00700007c"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"_account": "52db1be4be13cbc36e000004",
|
443
|
+
"_entity": "53b204eefda49edae5000012",
|
444
|
+
"_id": "53b20479fda49edae5000001",
|
445
|
+
"amount": -3042.44,
|
446
|
+
"date": "2014-03-27",
|
447
|
+
"name": "Company Payroll",
|
448
|
+
"meta": {},
|
449
|
+
"pending": false,
|
450
|
+
"score": {
|
451
|
+
"master": 1
|
452
|
+
},
|
453
|
+
"type": {
|
454
|
+
"primary": "special"
|
455
|
+
},
|
456
|
+
"category": [
|
457
|
+
"Transfer",
|
458
|
+
"Payroll"
|
459
|
+
],
|
460
|
+
"category_id": "5374275870d8a0ac65000016"
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"_account": "52db1be4be13cbc36e000007",
|
464
|
+
"_entity": "53d193330cad05f97a000002",
|
465
|
+
"_id": "53d1932c0cad05f97a000001",
|
466
|
+
"amount": 200,
|
467
|
+
"date": "2014-07-21",
|
468
|
+
"name": "ATM Withdrawal",
|
469
|
+
"meta": {
|
470
|
+
"location": {
|
471
|
+
"city": "San Francisco",
|
472
|
+
"state": "CA"
|
473
|
+
}
|
474
|
+
},
|
475
|
+
"pending": false,
|
476
|
+
"score": {
|
477
|
+
"master": 1,
|
478
|
+
"detail": {
|
479
|
+
"state": 1,
|
480
|
+
"city": 1
|
481
|
+
}
|
482
|
+
},
|
483
|
+
"type": {
|
484
|
+
"primary": "special"
|
485
|
+
},
|
486
|
+
"category": [
|
487
|
+
"Transfer",
|
488
|
+
"Withdrawal",
|
489
|
+
"ATM"
|
490
|
+
],
|
491
|
+
"category_id": "5374277870d8a0ac6500001c"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"_account": "52db1be4be13cbc36e000007",
|
495
|
+
"_entity": "53d194280cad05f97a000004",
|
496
|
+
"_id": "53d194230cad05f97a000003",
|
497
|
+
"amount": 240,
|
498
|
+
"date": "2014-07-24",
|
499
|
+
"name": "Online Transfer from External Sav ...3092",
|
500
|
+
"meta": {},
|
501
|
+
"pending": false,
|
502
|
+
"score": {
|
503
|
+
"master": 1
|
504
|
+
},
|
505
|
+
"type": {
|
506
|
+
"primary": "special"
|
507
|
+
},
|
508
|
+
"category": [
|
509
|
+
"Transfer",
|
510
|
+
"Account Transfer"
|
511
|
+
],
|
512
|
+
"category_id": "5374272370d8a0ac6500000c"
|
513
|
+
}
|
514
|
+
],
|
515
|
+
"access_token": "test"
|
516
|
+
}
|