POST
/
api
/
end_users
/
{end_user_id_or_heron_id}
/
plaid
/
assets
curl --request POST \
  --url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/plaid/assets \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "report": {
    "date_generated": "2023-11-07T05:31:56Z",
    "days_requested": 123,
    "items": [
      {
        "accounts": [
          {
            "account_id": "<string>",
            "balances": {
              "available": 123,
              "current": 123,
              "iso_currency_code": "<string>",
              "limit": 123
            },
            "historical_balances": [
              {
                "current": 123,
                "date": "2023-12-25",
                "iso_currency_code": "USD"
              }
            ],
            "mask": "<string>",
            "name": "<string>",
            "official_name": "<string>",
            "owners": [
              {
                "names": [
                  "<string>"
                ]
              }
            ],
            "subtype": "<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>"
              }
            ],
            "type": "<string>"
          }
        ],
        "institution_name": "<string>"
      }
    ]
  }
}'
{
  "_summary": {
    "request_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

end_user_id_or_heron_id
string
required

The end_user_id or heron_id of EndUser to upload

Body

application/json
report
object
required

Response

201 - application/json
OK
_summary
object