> ## Documentation Index
> Fetch the complete documentation index at: https://www.logo.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction API: Identify Merchants from Card Transactions

> Turn a raw card-transaction descriptor into a merchant brand: its name, domain, and logo. Pass a transaction string and an optional country code.

<Note>
  The Transaction API is in early access. [Contact sales](mailto:sales@logo.dev?subject=Transaction%20API) to enable it on your account.
</Note>

The Transaction API turns a raw card-transaction descriptor (like `SQ *BLUE BOTTLE 1523 OAKLAND CA`) into the merchant's brand: its name, domain, and logo. Pass an optional country code to disambiguate merchants that appear in more than one region.

```bash theme={null}
curl --request POST "https://api.logo.dev/transaction" \
  --header "Authorization: Bearer LOGO_DEV_SECRET_KEY" \
  --header "Content-Type: application/json" \
  --data '{ "transaction": "SQ *BLUE BOTTLE 1523 OAKLAND CA", "country_code": "US" }'
```

It returns the same shape as the [Search API](/brand-search/introduction): `name`, `domain`, and `logo_url`. Drop a merchant logo next to any transaction.

See the full request and response in the [Identify a merchant](/api-reference/rest-api/identify-a-merchant) reference.
