This operation will create a credit or prepaid card media connected to given customer. An account id needs to be provided as well so we know to which account the card should be connected to.
curl --request POST \
--url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/card/v1/MULTI_APPLICATION_CARD/customer/{customerId} \
--header 'Content-Type: application/json' \
--data '{
"mainApplication": {
"applicationName": "APPLICATION",
"enabled": true,
"additionalValues": [
{
"key": "<string>",
"value": "<string>"
}
],
"printed": true,
"contactPriorityLevel": 128,
"contactlessPriorityLevel": 128,
"digitalLayoutCode": "abc123abc",
"accountId": "1234567890",
"productCode": "MC_CARD_2, VISA_CARD1, VISA_VIRTUAL_3, MC_VIRTUAL_2, VISA_CARD"
},
"applications": [
{
"applicationName": "APPLICATION",
"enabled": true,
"additionalValues": [
{
"key": "<string>",
"value": "<string>"
}
],
"printed": true,
"contactPriorityLevel": 128,
"contactlessPriorityLevel": 128,
"digitalLayoutCode": "abc123abc",
"accountId": "1234567890",
"productCode": "MC_CARD_2, VISA_CARD1, VISA_VIRTUAL_3, MC_VIRTUAL_2, VISA_CARD"
}
],
"cardAddress": {
"address1": "Kings street 12",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "Mariehamn",
"country": "FIN",
"region": "Åland Islands",
"zipCode": 22100
},
"embossing": {
"additionalField1": "<string>",
"additionalField2": "<string>",
"additionalField3": "<string>",
"additionalField4": "<string>",
"additionalField5": "<string>",
"companyName": "Enfuce Financial Services",
"externalLayoutCode": "BlueCard",
"firstName": "Monica",
"lastName": "Liikamaa",
"manufacturer": "FACTORY_X",
"physical": true
},
"expiration": {
"year": 2019,
"month": 1
},
"segment": "SEGMENT_A",
"pinAddress": {
"address1": "Kings street 12",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "Mariehamn",
"country": "FIN",
"region": "Åland Islands",
"zipCode": 22100
},
"pinStatus": "D"
}'
{
"description": "<string>",
"mainId": "<string>",
"applications": [
{
"id": "<string>",
"accountId": "<string>"
}
]
}
The customer id of which customer you want to create the card on
The audit user to log the request
The fields that you want to apply to your newly created card, these values will override the predefined template values
The body is of type object
.
Successful creation of the product
The response is of type object
.
curl --request POST \
--url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/card/v1/MULTI_APPLICATION_CARD/customer/{customerId} \
--header 'Content-Type: application/json' \
--data '{
"mainApplication": {
"applicationName": "APPLICATION",
"enabled": true,
"additionalValues": [
{
"key": "<string>",
"value": "<string>"
}
],
"printed": true,
"contactPriorityLevel": 128,
"contactlessPriorityLevel": 128,
"digitalLayoutCode": "abc123abc",
"accountId": "1234567890",
"productCode": "MC_CARD_2, VISA_CARD1, VISA_VIRTUAL_3, MC_VIRTUAL_2, VISA_CARD"
},
"applications": [
{
"applicationName": "APPLICATION",
"enabled": true,
"additionalValues": [
{
"key": "<string>",
"value": "<string>"
}
],
"printed": true,
"contactPriorityLevel": 128,
"contactlessPriorityLevel": 128,
"digitalLayoutCode": "abc123abc",
"accountId": "1234567890",
"productCode": "MC_CARD_2, VISA_CARD1, VISA_VIRTUAL_3, MC_VIRTUAL_2, VISA_CARD"
}
],
"cardAddress": {
"address1": "Kings street 12",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "Mariehamn",
"country": "FIN",
"region": "Åland Islands",
"zipCode": 22100
},
"embossing": {
"additionalField1": "<string>",
"additionalField2": "<string>",
"additionalField3": "<string>",
"additionalField4": "<string>",
"additionalField5": "<string>",
"companyName": "Enfuce Financial Services",
"externalLayoutCode": "BlueCard",
"firstName": "Monica",
"lastName": "Liikamaa",
"manufacturer": "FACTORY_X",
"physical": true
},
"expiration": {
"year": 2019,
"month": 1
},
"segment": "SEGMENT_A",
"pinAddress": {
"address1": "Kings street 12",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "Mariehamn",
"country": "FIN",
"region": "Åland Islands",
"zipCode": 22100
},
"pinStatus": "D"
}'
{
"description": "<string>",
"mainId": "<string>",
"applications": [
{
"id": "<string>",
"accountId": "<string>"
}
]
}