Create card design

Here, you will learn how to create card designs in Tuum.

Use case

In this example, we will demonstrate how to create a new card design code.

Use case data
API parameters with values

Create a new card design code.

{
  "designCode": "BLK",
  "description": "Premium black card with a clean, minimalist finish"
}

The length of the design code you enter must not exceed the maximum allowed value defined in the system setting. See CARD_DESIGN_ID_LENGTH for details.

Sample API call

To create a new card design code, use the following endpoint:

https://card-api.sandbox.tuumplatform.com/api/v1/cards/design

Learn more about the create card designs endpoint in the Tuum developer portal.

Sample request

The sample request body is as follows:

{
  "designCode": "BLK",
  "description": "Premium black card with a clean, minimalist finish"
}

Sample response

Below you will find the response to the API request:

Response
{
    "errors": null,
    "validationErrors": null,
    "data": null
}

Result

A new card design code BLK has been created.

Last updated

Was this helpful?