Base URLs
There are two dedicated URLs for working with UX Toolkit: a sandbox URL and a base URL.HTML
Generate UX Toolkit OAuth access token
Action:POSTEndpoint:
/oauth/token
Use this endpoint to generate your UX Toolkit OAuth access token. For details, see UX Toolkit Getting Started.
Request header
Request body
Sample request body
JSON
Response body
Sample response body
JSON
Generate UX Toolkit authentication token
Action:POSTEndpoint:
/auth/login
Warning
This endpoint has been deprecated. Refer to the Authentication workflow section of UX Toolkit Getting Started for details on how to authenticate with OAuth 2.0.
This endpoint has been deprecated. Refer to the Authentication workflow section of UX Toolkit Getting Started for details on how to authenticate with OAuth 2.0.
Request body
Sample request body
JSON
Response body
Sample response body
JSON
Upload theme object
Action:POSTEndpoint:
/theme
Use this endpoint to upload your theme as a JSON object.
Once you have finalized your application’s theme using the Studio environment, you can upload it to Marqeta for use with your card product. For details, see UX Toolkit Getting Started.
Request body
Sample request body
JSON
Sample response body
There is no response for a call made to thePOST /theme endpoint, other than a 201 Successfully uploaded a theme message.
JSON
Upload card art
Action:POSTEndpoint:
/cardproducts/cardart
Use this endpoint to upload card art for a specific program. Send the request as a multi-part form data request.
Your card art images are displayed in the Studio environment and in your application. For details, see UX Toolkit Getting Started.
Request body
Sample request body
MIME
Sample response body
There is no response for a call made to thePOST /cardproducts/cardart endpoint, other than a 201 Successfully uploaded card art message.
JSON
Upload custom translation files
Action:POSTEndpoint:
/translations
ImportantBefore uploading your translation files using the /translations endpoint, ensure that they are linguistically accurate and representative of the user experience.
translations object so that they will appear in the target language in the customer-facing UI. UX Toolkit uses key and value pairs to render the translations used in web components. Each key is an identifier used to reference a specific piece of content in a web component, while the value is the translated text string that replaces that key on the customer-facing UI. See the sample request body that follows for an example.
For a full list of keys, contact your Marqeta onboarding specialist.
See also the Using custom translation files section in the UX Toolkit Getting Started guide.
Request body
Sample request body
JSON
Sample response body
The only response for a call made to the/translations endpoint is 201 Successfully uploaded a translation.
JSON