Skip to main content
Marqeta provides customizable components that enable your cardholders to securely activate their cards, display card and account details, view their recent transaction history and otherwise manage their cards in your customer application. These fully compliant, accessible UI components are part of UX Toolkit. They are a low-code implementation that you can add to your customer application as native web components in order to provide extended functionality to your cardholders. All PCI data elements are securely injected using iframes. Each of the available UI components is described below. You are encouraged to experiment with the interactive components described on this page—no account is required. Using the Studio environment, you can try out various configuration values for theme object properties such as colors and font attributes. See below for instructions on how to get started with Studio. For detailed instructions on how to begin working with UX Toolkit, including installation, embedding a component, authentication, and creating a session in Marqeta’s hosted card management system, see UX Toolkit Getting Started.
Note
Compliant with the Payment Card Industry Data Security Standard (PCI DSS), UX Toolkit reduces your burden of achieving data security compliance by providing a PCI-compliant way to allow cardholders to perform certain actions; however, you have other responsibilities regarding data security for other elements of your cardholder experience. Contact your Marqeta representative for details or see Concepts.
Important
This version of UX Toolkit supports prepaid and debit card programs in the United States, Canada, and the EU.

Designing a theme with Studio

Studio is an interactive theming environment where you can fine-tune the appearance of the UX Toolkit UI components before integrating them in your customer application. For example, with Studio, you can preview and test the look-and-feel of the UI components you integrate in your customer application on various device types including mobile phone, tablet, and desktop. While in Studio, you can click into each component to access all available functionality. The components each have an Overview icon Overview page and a Customize icon Customize page that are linked together, so that any changes made on the Customize page carry over to the Overview page. You can choose to work in Studio with or without authenticating:
  • If you choose to authenticate, you will populate Studio with your program’s details and data instead of using the default option of Studio-simulated data.
  • If you do not authenticate, you can work with simulated data that is provided.
Important
To work in Studio while authenticated, contact your Marqeta representative to obtain the Auth Params CLI script for your Auth Params. To run the Auth Params CLI script, you will need Node.js v16 (or later) installed and the items described below.
The example cURL below uses the Auth Params CLI script:
cURL

Authenticate when working with Studio

To authenticate when working with Studio, follow these steps:
UX Toolkit Authentication in Studio
1
Access the Studio page.
2
In the upper-left corner of the screen, click the Authentication icon icon to load the modal window.
3
Select the Authenticate option button.
4
Enter the Auth Params, then click the Authenticate button. When the icon turns green, you know that you have successfully switched to authenticated mode.

Editing and sharing an existing Studio theme

If you are part of a collaborative effort building a theme and want to share your work with others, you can do so by sharing the theme as a file in JSON format. Consider hosting a copy of your theme’s JSON file in your source control repository for safekeeping so you can monitor any incremental changes made to it by team members. Keeping a copy of your theme’s JSON file also enables you to quickly update your application’s theme whenever necessary, as explained below. Your Studio theme is not applied to your card product or program until you upload it to the Marqeta platform by sending a POST request to the /theme endpoint. You cannot download and edit a Studio theme once it has been uploaded to the Marqeta platform. The Marqeta platform does not retain a version history of your theme’s JSON file. To edit the locally saved copy of your theme’s JSON file, follow these steps:
1
Paste your theme’s JSON content into Studio.
2
Make your modifications directly in the Studio interface.
3
Save the JSON file locally or in your source control repository, per the procedures in place.
4
Upload the JSON file to the Marqeta platform to overwrite the existing theme.
UX Toolkit does not limit you to a single theme per card program. You can define multiple themes, and apply a different theme to each card product in your program, for example. The only limitation is that all themes you create for a given card program must be assigned a unique name.
Note
If you close or refresh the browser tab where Studio is running, your customized theme values will be lost. Similarly, if you choose to authenticate with Studio, you will be logged out after closing or refreshing the Studio tab.
For further assistance with theming using the Studio environment, access Studio directly.

Account component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
The UX Toolkit’s Account component enables you to display an account balance and show your cardholders their account details:
  • View account balance: Displays the available balance of the cardholder account, which is the balance in the ledger minus any authorized transactions that have not yet cleared.
  • View deposit account details: Enables your cardholders to view the type of account, routing number, and account number of the underlying deposit account, then copy the details if needed.
  • Download statements: Enables your cardholders to view and download the available statements in their account.

Properties/Attributes

Events

Card management components

With UX Toolkit’s family of card management components, you can manage your program’s cards through these common cardholder operations:

Activate Card component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
The PCI-compliant Activate Card component allows your account holders to activate a new card. With this UI component, you can toggle the component’s title and description. In the authenticated cardholder experience, a valid cardToken associated with the userToken must be used to generate the UI component and activate the card.

Properties/Attributes

Events

Card List component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
With the UX Toolkit’s Card List component, cardholders can select a card from their list of cards to take actions on. This UI component will emit events to notify you whenever the cardholder selects a card. Use this event to route the customer to the respective card action component. Although terminated cards are displayed, you should prevent your cardholders from managing their card or viewing their card details. Do not route your cardholders to the Card Actions component because they will have no actions available to them.

Properties/Attributes

No configurable properties or attributes are currently available for this UI component.

Events

Set PIN component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
The PCI-compliant Set PIN component allows cardholders to set a four-digit personal identification number (PIN) for their card. With this UI component, you can toggle the component’s title and description. In the authenticated cardholder experience, a valid cardToken associated with the userToken must be used to generate the UI component and set or change the card’s PIN.

Properties/Attributes

Events

Reveal PIN component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
The PCI-compliant Reveal PIN component allows your cardholders to view their card’s four-digit personal identification number (PIN). Before the cardholder can view their PIN, you must explicitly reauthenticate the cardholder, passing the value corresponding to whichever supplemental method was used to verify the cardholder’s identity (cardholderVerificationMethod) to Marqeta. The PIN will automatically be hidden from view after the configured display time has elapsed. With this UI component, you can toggle the component’s title.

Properties/Attributes

Events

Card component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
The PCI-compliant Card component allows cardholders to view and copy their card details to the clipboard. With this UI component, you can toggle the component’s title. In the authenticated cardholder experience, a valid cardToken associated with the userToken must be used to generate the UI component and view the card’s details.
Warning
Card data is less secure when copied to the clipboard than when left in a PCI-compliant component. Cardholders should adopt data security best practices and take precautions to keep their sensitive data safe.

Properties/Attributes

Events

Replace Card component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
With the UX Toolkit’s Replace Card component, cardholders can replace their card if it is lost, stolen, or damaged. Cardholders can also update their mailing address to ensure that the replacement card is sent to the correct address.

Properties/Attributes

Events

Card Actions component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
With the UX Toolkit’s Card Actions component, you can offer your cardholders a convenient, central location to manage their card: This component dynamically displays card actions based on the card’s state. For example, if the cardholder’s card is unlocked, the Lock Card option and toggle will be shown to the cardholder. The Lock/Unlock Card action displayed by this UI component is directly actionable here by the cardholder. The other card actions, such as View PIN, appear to the cardholder as shortcuts used to access other UI components. These card action shortcuts are designed to emit events that notify you whenever they are selected by the cardholder. You then use these events to route the cardholder to the appropriate UI component. For example, if the cardholder selects the Replace Card option, the event will contain details including the actionId, and cardToken. Route the cardholder using these details to the Replace Card component.
Tip
Set the cardToken value to bbbbbbbb-bbbb-bbbb-bbbb-000000000000 if you want to test a generic error within the Card Actions component.

Properties/Attributes

Events

Lock/Unlock Card action

Part of the Card Actions component, the Lock/Unlock Card action enables your cardholders to temporarily disable their card to prevent unauthorized use. With this action, your cardholders can quickly and easily protect their card if they lose it or suspect fraudulent activity. By locking their card this way, they can immediately stop any unauthorized transactions, reducing financial risk.
Tip
Consider advising your cardholders to immediately lock their card as a temporary solution in the event that they misplace it. Locking the misplaced card while they search provides a quick solution without the need to report it as lost or stolen.

Events

The events for this UI component are given in the Events section of the Card Actions component above.

Account Funding (money movement) components

By including the UX Toolkit’s Account Funding feature in your application, you can enable your cardholders to add their external payment cards as linked funding sources for the account they have with you. Your cardholders can then pull funds into their account from the external cards they linked. Implementing the Account Funding feature involves multiple UX Toolkit components: The external card types that can be used for linking are debit and prepaid cards issued by either Visa or Mastercard.
Note
The scope of the UX Toolkit’s Account Funding components is limited to pulling funds into your Marqeta account over card rails.

External Account List component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
The PCI-compliant External Account List component enables your cardholders to manually enter the details of their supported external payment card and link it to the account they have with you on your application. By linking their external card to their account using this UI component, your cardholders are defining a funding source that they can use to move funds from their external cards to their account with you.

Properties/Attributes

Events

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
The Link External Card component enables your cardholders to perform various management operations on the external cards they have linked to the account they have on your application. Cardholders can use this UI component to view or unlink their linked external cards. They can also link additional external cards to their account here.

Properties/Attributes

No configurable properties or attributes are currently available for this UI component.

Events

Transfer Funds component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
The Transfer Funds component enables your cardholders to move funds from one of their linked external cards to the account they have on your application. If your account holder has more than one linked external card, the UI component prompts them to choose the funding source from their list of linked external cards before moving the funds into the account. If the account holder has only one linked external card, the UI component allows them to move the funds right away.

Properties/Attributes

Events

Statements component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
This component is lengthy; don’t forget to scroll to view to the very end.
The Statements component provides your cardholders with the ability to view and download the monthly statements for their account. Cardholders can view the available statements in their account and choose to download the statement for the period that interests them. Provided in PDF format, the downloadable statements indicate the account’s starting and ending balance, as well as a list of all transactions that were posted during the statement period. The description, location, and amount are provided for each transaction included in the statement.

Properties/Attributes

No configurable properties or attributes are currently available for this UI component.

Events

File Dispute component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
The File Dispute component gives your cardholders the ability to create disputes for fraud and many kinds of transactions without involving a call center agent or other channel. Implementing this UI component in your application minimizes the need for your cardholders to contact you when they want to dispute a transaction posted to their account. This UI component guides your cardholder through a series of questions, capturing all relevant details before initiating a dispute with the card network on behalf of your cardholder. The scope of the UX Toolkit’s File Dispute UI component is limited to the following kinds of disputes:
  • Fraud: A dispute where the cardholder suspects fraud.
  • Consumer disputes: A dispute where the cardholder did not receive the goods or service they paid for, or the goods or service they received were damaged.
  • Processing disputes: A dispute where there is something incorrect in the transaction processing, such as the cardholder being charged twice or being charged in an incorrect currency.
With the File Dispute component, your cardholders will be able to initiate a dispute on a settled transaction.

Properties/Attributes

Events

Onboarding form

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
This component is lengthy; don’t forget to scroll to view to the very end.
With the UX Toolkit’s Know Your Customer (KYC) and Know Your Business (KYB) Onboarding component, applicants can sign up for an account with you. This UI component creates a user account on the Marqeta platform, and then performs KYC and KYB (EU) identity verification. This UI component is only applicable if your program is using Marqeta’s KYC/KYB (EU) solution.
Note
Some Marqeta card programs require account holders residing in the United States and the EU to pass KYC or KYB (EU) identity verification before being allowed to transact. KYC/KYB (EU) verification is also required for the proprietors, officers, and beneficial owners of businesses in the United States and the European Union.

Properties/Attributes

Events

Transaction List component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
This component is lengthy; don’t forget to scroll to view to the very end.
The UX Toolkit’s Transaction List component gives you the ability to provide your cardholders with a comprehensive view of their transaction history, including pending and cleared transactions, merchant name, date, and transaction type. The Transaction List component handles the complex logic required to display the transaction history that is relevant to cardholders. By integrating the Transaction List component in your application, your cardholders will be able to:
  • View a history of the transactions and payment activities they have performed over the past 90 days.
  • View the description, status, date, type, and amount of the transactions in the history.

Properties/Attributes

Events

Transaction component

Tip
The UI components on this page are interactive modules, not screen captures! You can try them out here now — no need to create an account.
The UX Toolkit’s Transaction component gives you the ability to provide your cardholders with a detailed view of a specific transaction. By integrating this UI component in your application, your cardholders will be able to:
  • View the description, status, amount, and date for an individual transaction
  • View the status of a dispute they initiated

Properties/Attributes

Events