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.
Here we will create a card design with sample values.
Design code (This must be a unique value)
Description
To create the card design, use the following endpoint:
https://card-api.sandbox.tuumplatform.com/api/v1/cards/design
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"
}'
Below you will find the response to the sample request:
We have created a card design which we can assign to card products.
"designCode": "01"
"description": "Sample card design"