curl --request POST \
--url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/plaid/transactions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"accounts": [
{
"account_id": "<string>",
"balances": {
"available": 123,
"current": 123,
"iso_currency_code": "<string>",
"limit": 123
},
"mask": "<string>",
"name": "<string>",
"official_name": "<string>",
"subtype": "<string>",
"type": "<string>"
}
],
"transactions": [
{
"account_id": "<string>",
"amount": 123,
"balance": 123,
"category": "<string>",
"date": "2023-12-25",
"iso_currency_code": "USD",
"merchant_name": "<string>",
"name": "<string>",
"pending": true,
"pending_transaction_id": null,
"timestamp": "2023-11-07T05:31:56Z",
"transaction_code": "<string>",
"transaction_id": "<string>"
}
]
}'
{
"_summary": {
"request_id": "<string>"
}
}
Upload Plaid transactions JSON for a specified end user to translate into Heron Data format and add transactions for the end user
curl --request POST \
--url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/plaid/transactions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"accounts": [
{
"account_id": "<string>",
"balances": {
"available": 123,
"current": 123,
"iso_currency_code": "<string>",
"limit": 123
},
"mask": "<string>",
"name": "<string>",
"official_name": "<string>",
"subtype": "<string>",
"type": "<string>"
}
],
"transactions": [
{
"account_id": "<string>",
"amount": 123,
"balance": 123,
"category": "<string>",
"date": "2023-12-25",
"iso_currency_code": "USD",
"merchant_name": "<string>",
"name": "<string>",
"pending": true,
"pending_transaction_id": null,
"timestamp": "2023-11-07T05:31:56Z",
"transaction_code": "<string>",
"transaction_id": "<string>"
}
]
}'
{
"_summary": {
"request_id": "<string>"
}
}
The end_user_id
or heron_id
of EndUser to upload
OK
The response is of type object
.
Was this page helpful?