Rest APIs
Transaction API
Rest APIs
Transaction API
Turn payment transactions into merchant data.
POST
/
v2
/
brands
/
transaction
curl --request POST \
--url https://api.brandfetch.io/v2/brands/transaction \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"transactionLabel": "STARBUCKS 1523 OMAHA NE",
"countryCode": "US"
}'
{
"id": "<string>",
"name": "<string>",
"domain": "<string>",
"claimed": true,
"description": "<string>",
"longDescription": "<string>",
"links": [
{
"name": "twitter",
"url": "<string>"
}
],
"logos": [
{
"theme": "dark",
"formats": [
{
"src": "<string>",
"format": "svg",
"height": 123,
"width": 123,
"size": 123,
"background": "transparent"
}
],
"tags": [
{}
],
"type": "icon"
}
],
"colors": [
{
"hex": "<string>",
"type": "accent",
"brightness": 123
}
],
"fonts": [
{
"name": "<string>",
"type": "title",
"origin": "google",
"originId": "<string>",
"weights": [
{}
]
}
],
"images": [
{
"formats": [
{
"src": "<string>",
"format": "svg",
"height": 123,
"width": 123,
"size": 123,
"background": "transparent"
}
],
"tags": [
{}
],
"type": "banner"
}
],
"qualityScore": 123,
"company": {
"employees": 1,
"financialIdentifiers": {
"isin": [
"<string>"
],
"ticker": [
"<string>"
]
},
"foundedYear": 123,
"industries": [
{
"id": "<string>",
"score": 123,
"slug": "<string>",
"name": "<string>",
"emoji": "<string>",
"parent": [
{
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"emoji": "<string>"
}
]
}
],
"kind": "EDUCATIONAL",
"location": {
"city": "<string>",
"country": "<string>",
"countryCode": "<string>",
"region": "<string>",
"state": "<string>",
"subregion": "<string>"
}
},
"isNsfw": true,
"urn": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful request.
The response is of type object
.
curl --request POST \
--url https://api.brandfetch.io/v2/brands/transaction \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"transactionLabel": "STARBUCKS 1523 OMAHA NE",
"countryCode": "US"
}'
{
"id": "<string>",
"name": "<string>",
"domain": "<string>",
"claimed": true,
"description": "<string>",
"longDescription": "<string>",
"links": [
{
"name": "twitter",
"url": "<string>"
}
],
"logos": [
{
"theme": "dark",
"formats": [
{
"src": "<string>",
"format": "svg",
"height": 123,
"width": 123,
"size": 123,
"background": "transparent"
}
],
"tags": [
{}
],
"type": "icon"
}
],
"colors": [
{
"hex": "<string>",
"type": "accent",
"brightness": 123
}
],
"fonts": [
{
"name": "<string>",
"type": "title",
"origin": "google",
"originId": "<string>",
"weights": [
{}
]
}
],
"images": [
{
"formats": [
{
"src": "<string>",
"format": "svg",
"height": 123,
"width": 123,
"size": 123,
"background": "transparent"
}
],
"tags": [
{}
],
"type": "banner"
}
],
"qualityScore": 123,
"company": {
"employees": 1,
"financialIdentifiers": {
"isin": [
"<string>"
],
"ticker": [
"<string>"
]
},
"foundedYear": 123,
"industries": [
{
"id": "<string>",
"score": 123,
"slug": "<string>",
"name": "<string>",
"emoji": "<string>",
"parent": [
{
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"emoji": "<string>"
}
]
}
],
"kind": "EDUCATIONAL",
"location": {
"city": "<string>",
"country": "<string>",
"countryCode": "<string>",
"region": "<string>",
"state": "<string>",
"subregion": "<string>"
}
},
"isNsfw": true,
"urn": "<string>"
}