SQ *BLUE BOTTLE COFFE OAKLAND CA, and your users want to see Blue Bottle Coffee with its logo. /transaction reads the line, and the logo CDN draws the logo for free.
Cost: 3 credits per new line, and 1 for a line seen in the last 7 days. Statements repeat the same merchants every month, so most lines soon cost 1, or nothing if you store the result.
1. Look up each descriptor
mcc too if your card data has the merchant category code. It helps with ambiguous lines.
2. Turn the result into a row
Not every line is a purchase.kind tells you what it is, so label it honestly:
3. Show the logo
logo_url already carries your publishable logo token, so it’s safe in the browser: