Search code examples
plaid

How can I get the logo for an "Item" from the Plaid api?


I looked over the API documentation and I didn't see anything about how to get logos, but plaid clearly has them as they appear in the link app. Is there any way that I can also get access to those logo as part of the API or through another mechanism using an "Item" id?


Solution

  • While not documented at the time of this writing, it apparently can be done by adding an options parameter to a institution request with the value of {"include_display_data": true}. With the node API using the getInstitutionById method and Vangaurd it looks like this.

    client.getInstitutionById('ins_108768', {include_display_data: true} (err, result) => {
     // Handle err
     const logo = result.institution.logo;
    });
    

    The value of logo will either be null or a base64 encoded string containing the binary data of the logo.