All pages
Powered by GitBook
1 of 1

Loading...

Create card design

A design ID is the value agreed with the card manufacturer and this information is provided with the request sent to the processor when ordering a physical plastic card.

You must define at least one product design to be able to create a card product.

Use case

Here we will create a card design with sample values.

Use case data
API parameters with values

Design code (This must be a unique value)

Description

Sample API call

To create the card design, use the following endpoint:

Sample request

The sample request body is as follows:

{
  "designCode": "01",
  "description": "Sample card design"
}
curl -X 'POST' \
  'https://card-api.sandbox.tuumplatform.com/api/v1/cards/design' \
  -H 'accept: application/json' \
  -H 'x-channel-code: SYSTEM' \
  -H 'x-tenant-code: MB' \
  -H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDYtMjFUMTU6MzQ6NTUiLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2ODczNjE2OTV9.y4Ye4K0t0yPGbP4IO5RuAb-vydtwNO6FL-mdGuWeqRA' \
  -H 'Content-Type: application/json' \
  -d '{
  "designCode": "01",
  "description": "Sample card design"
}'

Sample response

Below you will find the response to the sample request:

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

Result

We have created a card design which we can assign to card products.

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

Learn more about the endpoint in the Tuum developer portal.

"designCode": "01"
"description": "Sample card design"
create card design