display
objectdisplay.name
.
Description | Counterparty | Third Party | Display Name | Display Logo |
---|---|---|---|---|
SQ*SPADE PIZZA | Spade Pizza | Square | Spade Pizza | Spade Pizza |
DD*SPADEPIZZA | Spade Pizza | DoorDash | DoorDash - Spade Pizza | Spade Pizza |
display
object to easily surface the information most recognizable to a user for you to plug into your UI. The display
object consists of a combination of information from the counterparty and third party sections of the response. Provided below is the display
object returned from the previous example of a user ordering Spade Pizza via DoorDash.
display
object can be found in the transactionInfo
of both card and transfer enrichments.
name
- The recommended display namecategoryName
- The best description of the category, usually this is the counterparty industry, but it may also reflect some third parties, MCC, etc.graphic
- The recommended logo or icon to displaygraphicSource
- Indicates whether the graphic was sourced from either acounterparty
, third_party
, or category
. This is helpful if for example you use your own category iconographyspendingChannel
= physical to avoid confusion for online purchases that will show corporate locations that end users may not be familiar with.location.address
. The street address will be parsed and will always return a value in addressLine1
but will only return a value in addressLine2
if the address has multiple lines.
In the first example below the address should be shown as:
1234 W 5th Ave Suite 100 New York, NY 10001
address
field:
1234 W 5th Ave New York, NY 10001
location.latitude
and location.longitude
for you to use to generate a map in your UI.
counterparty.phoneNumber
when it is present and falling back to counterparty.location.phoneNumber
. When the counterparty is a corporation, such as WalMart, the counterparty phone number represents the corporate phone number and the location phone number is the phone number for the specific store location.