Challenge 4: A client is reaching out with a question about transactions data.
Hi Plaid,
I’m recently integrated with Plaid and I’m starting to see duplicate transactions pop
up in my database. The pattern seems to be that Plaid returns each transaction
and then returns that same transaction again roughly two days later but under a
new transaction
_
id. Could you please take a look at let me know what’s going
wrong here? Here is one example of the duplicates I’m seeing:
{
"account
id": "vokyE5Rn6vHKqDLRXEn5fne7LwbKPLIXGK98d"
_
"amount": 2307.21,
"iso
code": "USD"
,
,
currency
_
"unofficial
_
currency
code": null,
_
_
"category": [
"Shops"
,
"Computers and Electronics"
],
"category
id": "19013000"
_
"date": "2017-01-29"
,
,
"location": {
"address": "300 Post St"
,
"city": "San Francisco"
"region": "CA"
,
"postal
code": "94108"
,
_
"country": "US"
,
"lat": null,
,
"lon": null
},
"name": "Apple Store"
,
"payment
meta": Object,
_
"pending": false,
"Pending
transaction
id":
_
_
“lPNjeW1nR6CDn5okmGQ6hEpMo4lLNoSrzqDje”
null,
,
"account
owner":
_
"transaction
"transaction
id": "4WPD9vV5A1cogJwyQ5kVFB3vPEmpXPS3qvjXQ"
_
type": "place"
_
,
},
{
"account
id": "vokyE5Rn6vHKqDLRXEn5fne7LwbKPLIXGK98d"
_
"amount": 2307.21,
"iso
code": "USD"
,
,
currency
_
"unofficial
_
currency
code": null,
_
_
"category": [
"Shops"
,
"Computers and Electronics"
],
"category
id": "19013000"
_
"date": "2017-01-27"
,
,
"location": {
"address": "300 Post St"
,
"city": "San Francisco"
"region": "CA"
,
"postal
code": "94108"
,
_
"country": "US"
,
"lat": null,
,
"lon": null
},
"name": "Apple Store"
,
"payment
meta": Object,
_
"pending": true,
"pending
transaction
_
"account
id": null,
_
"transaction
"transaction
_
owner": null,
id": "lPNjeW1nR6CDn5okmGQ6hEpMo4lLNoSrzqDje"
_
type": "place"
_
}
,
Best,
Janine Melnitz