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"
}Sample API call
To create a new card design code, use the following endpoint:
https://card-api.sandbox.tuumplatform.com/api/v1/cards/design
Sample request
The sample request body is as follows:
{
"designCode": "BLK",
"description": "Premium black card with a clean, minimalist finish"
}curl -L 'https://card-api.sandbox.tuumplatform.com/api/v1/cards/design' \
-H 'x-tenant-code: MB' \
-H 'Accept-Language: en' \
-H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYW1lIjoidGVzdCBrYXN1dGFqYSIsImVtcGxveWVlSWQiOiJJRC0xMTAwIiwidGVuYW50Q29kZSI6Ik1CIiwiZXhwaXJ5RFRpbWUiOiIyMDI1LTA4LTA3VDA5OjU3OjIzIiwiZXhwIjoxNzU0NTYwNjQzLCJyb2xlcyI6WyJBRE1JTiIsIlNZU1RFTSJdfQ.q3Ion3gSoHNdeRxb7G2uTwxRbpmBfBA9t7aQnDZCa8E' \
-H 'Content-Type: application/json' \
-d '{
"designCode": "BLK",
"description": "Premium black card with a clean, minimalist finish"
}'Sample response
Below you will find the response to the API request:
Result
A new card design code BLK has been created.
Last updated
Was this helpful?