Use case prompt
AMZN MKTP US*XX1234 means nothing to the person who reads it. A merchant logo and a clean name make every row recognizable. Your app keeps the original descriptor and any correction the user makes.
Bank and merchant logos
To show logos in a fintech app, use Logo.dev for both the merchant on each transaction and the bank on each connected account. Merchant logos come from Transaction, which turns a raw bank or card description into a merchant name, a domain, a logo URL, and a confidence score. Bank logos come from the Logo.dev CDN by the bank’s domain, the same way as any company’s logo.- Get a publishable key. It goes in the
tokenquery parameter of every Logo.dev CDN URL. - For a transaction with a merchant domain from your card processor or open-banking provider, put that domain in
https://img.logo.dev/{identifier}. - For a transaction with only a raw descriptor, send it to Transaction on your server and use the domain it returns. Transaction is a private beta.
- For a connected account, put the bank’s domain in the same URL.
Choose the lookup from the data you have
- A merchant domain: many card processors and open-banking providers return one. Use it with the Logo.dev CDN.
- Only the raw descriptor: resolve it on your server with Transaction. It is a private beta, and it returns
403until the beta is on for your account. - A clean merchant name: use a name lookup.
merchant-lookup.ts
Handle every row state
Store the lookup result with the transaction. Render each row from this table:Render the feed
A row with a domain shows the logo. A row without one shows a neutral placeholder:Test the feed
Test with four rows: a merchant with a known domain, a raw descriptor that Transaction matches, a descriptor that comes backcleaned, and a row the user corrected. Then make one lookup fail, and send one with an account that does not have the beta. The corrected row and the original descriptor must not change, and the 403 must not retry.
Transaction
Identify merchants from raw card descriptors.
Stock watchlists
Build the same row pattern for trading and portfolio apps.