AI agent instructions
AI agent instructions
POST /data/brand/retrieve with "type": "by_transaction" takes the messy text from a card or bank statement and returns the merchant behind it, using the same profile as Company enrichment.
Try it in the Console
Try this API in the playground, no code needed.
Quick start
Parameters
string
required
Always
by_transaction.string
required
The descriptor text, 3 to 500 characters.
string
Country code to narrow the match, for example
us.string
City from the transaction.
string
Merchant category code.
string
Merchant phone number from the transaction.
boolean
default:"false"
Only return a match when the API is confident.
boolean
default:"false"
Prioritize speed.
object
milliseconds and behavior: fail or return-partial.string[]
Free-form labels attached to the request.
When no merchant is found
If the descriptor can’t be resolved reliably, the API returns:city, mcc or phone and retry.