Card Art
IMPORTANT
This feature is in pilot phase. You have early access to this feature
even though it might contain bugs or unfinished work. Please consider the risk when
using this feature.
You can choose to display card art provided by
TMS
to help your
customers identify the card that they are selecting. Cybersource
recommends that card art be shown in all cardholder-facing interactions where it
applies.Card art is available for these card types:
- American Express
- Mastercard
- Visa
Retrieve Card Art
This section describes how to retrieve card assets.
Endpoint
Test:
POST
https://apitest.cybersource.com
/tms/v2/tokens/
{tokenId}
/
{provider}
/assets/
{asset.type}
Production:
POST
https://api.cybersource.com
/tms/v2/tokens/
{tokenId}
/
{provider}
/assets/
{asset.type}
Production in India:
POST
https://api.in.cybersource.com
/tms/v2/tokens/
{tokenId}
/
{provider}
/assets/
{asset.type}
The
is the instrument identifier ID returned in the
{tokenId}
id
field when you created the
TMS
token.
The
is the provider of the card for which you want to retrieve card art. Possible values:
{provider}
-
aets: American Express
-
mdes: Mastercard
-
mscof: Mastercard
-
vts: Visa
The
is the card art asset that you retrieve. Possible values:
{asset.types}
-
card-art-combined: background image, brand logo, and issuer logo
-
card-background: background image
-
card-issuer-logo: issuer logo
-
card-brand-logo: brand logo
-
card-co-brand-logo: co-branded card logo
-
card-icon: card brand icon
The availability of card asset types depends on the provider:
Card Art Asset
|
aets
|
mdes
|
mscof
|
vts
|
---|---|---|---|---|
card-art-combined
|
|
|
|
|
card-background
|
|
|
|
|
card-issuer-logo
|
|
|
|
|
card-brand-logo
|
|
|
|
|
card-co-brand-logo
|
|
|
|
|
card-icon
|
|
|
|
|