v1
latestOpenAPI 3.0.32026-07-26208618579.9 KBCreate card
Create a VISA branded card
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.
post/v4/VISA_CARD/customer/{customerId}/account/{accountId}/{cardRole}
Path parameters
customerIdstring biginteger required
The customer id of which customer you want to create the card on
accountIdstring biginteger required
The account id that the card should be connected to
cardRole'MAIN' | 'SUPPLEMENTARY' required
A role needs to be provided for the connection to the account. Role is one way to categorize between primary and supplementary card holders. Role MAIN will always create a card to have same account holder and card holder. For a supplementary card there is a possibility to differ between account and card holder.
Query parameters
auditUserstring required
The audit user to log the request
Request body
Example request
{
"expiration": {
"year": 2019,
"month": 1
},
"digitalLayoutCode": "abc123abc",
"scheduledClosing": {
"time": "2099-12-31T03:00:00.000Z"
},
"embossing": {
"companyName": "Enfuce Financial Services",
"externalLayoutCode": "BlueCard",
"firstName": "Monica",
"lastName": "Liikamaa",
"additionalEmbossingName": "Card User Name",
"manufacturer": "FACTORY_X",
"physical": true
},
"productCode": "MC_CARD_2, VISA_CARD1, VISA_VIRTUAL_3, MC_VIRTUAL_2, VISA_CARD",
"pinAddress": {
"address1": "Kings street 12",
"city": "Mariehamn",
"country": "FIN",
"region": "Åland Islands"
},
"cardAddress": {
"address1": "Kings street 12",
"city": "Mariehamn",
"country": "FIN",
"region": "Åland Islands"
}
}Response
Successful creation of the product