Payment API
Account Details
- Overview
- Create an account
- Update an account
- Get account information
Authorisation Control
- Overview
- Authorisation Control Webhook
Authorisation Forwarding
- Overview
- Forward authorisation webhook
Card details
- Overview
- Create card
- Overview
- POSTCreate a Multi-application card
- POSTCreate a MasterCard branded card
- POSTCreate a virtual Mastercard branded card
- POSTCreate a debit Mastercard branded card
- POSTCreate a debit Mastercard VIRTUAL branded card
- POSTCreate a VISA branded card
- POSTCreate a virtual VISA branded card
- POSTCreate a debit VISA branded card
- POSTCreate a debit VISA VIRTUAL branded card
- POSTCreate a fleet card
- POSTCreate Card (Deprecated)
- Update card
- Get application
- Update application
- Get card
- Get plastic
- Get EMV scripts
- Update plastic
Customer
- Overview
- Get customer information
- Create a customer
- Update a customer
- Customer hierarchy
Exchange Rates API
- Overview
- Get ECB exchange rate
- Get ECB supported currencies
- Get FX exchange rates
ID
- Overview
- Initiate 3rd party authentication flow
- Callback to complete authentication flow
Instalment
- Overview
- Instalment Operations
Invoice
- Overview
- Get invoice information
- Update an invoice
Notification
- Overview
- Receive a notification
PIN
- Overview
- PIN operations with pre-shared key
- PIN operations using PKI
PIN Control
- Overview
- PIN Control handling
Purchase Details
- Overview
- Trigger repricing
- Get purchase details
- Create purchase details
- Update purchase details
Repricing
- Overview
- Create repricing agreements
- Get repricing agreements
- Update repricing agreements
- Create price lists
- Get price lists
- Update price lists
Transaction
- Overview
- Test transactions
- Test authorizations
- Get transaction data
- Create transactions
- Create fees
- Update a transaction
- Authorization Holds (BETA)
- Batch payment
Transfer API
- Overview
- Post account to account transfer
- Account to account batch transfer
- Post card to card transfer
Wallet
- Overview
- Push Provision
- Activation data
- Get tokens
Test API
- Overview
- test-auth-request-templates
- test-authorizations
Hierarchy API
- Overview
- Card Hierarchy Management
- Card Hierarchy Group Management
- Card Management in Card Hierarchy Groups
Spend Control API
- Overview
- Rule Sets Endpoints
- Rules Endpoints
- Spend Control Test Endpoint
- STIP External Account Balance Endpoints (BETA)
- STIP Spend Control Test Endpoint (BETA)
Create card
Create a debit Mastercard branded card
This operation will create an debit 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
/
DEBIT_MC
/
customer
/
{customerId}
/
account
/
{accountId}
curl --request POST \
--url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/card/v4/DEBIT_MC/customer/{customerId}/account/{accountId} \
--header 'Content-Type: application/json' \
--data '{
"expiration": {
"year": 2019,
"month": 1
},
"segment": "SEGMENT_A",
"pinStatus": "D",
"digitalLayoutCode": "abc123abc",
"scheduledClosing": {
"type": "TIMEBASED",
"time": "2099-12-31T03:00:00.000Z"
},
"additionalValues": [
{
"key": "<string>",
"value": "<string>"
}
],
"encryptedData": "<string>",
"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
},
"productCode": "MC_CARD_2, VISA_CARD1, VISA_VIRTUAL_3, MC_VIRTUAL_2, VISA_CARD",
"pinAddress": {
"address1": "Kings street 12",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "Mariehamn",
"country": "FIN",
"region": "Åland Islands",
"zipCode": 22100
},
"cardAddress": {
"address1": "Kings street 12",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "Mariehamn",
"country": "FIN",
"region": "Åland Islands",
"zipCode": 22100
}
}'
{
"description": "<string>",
"id": "<string>"
}
Path Parameters
The customer id of which customer you want to create the card on
The account id that the card should be connected to
Query Parameters
The audit user to log the request
Body
application/json
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
.
Response
201
application/json
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/v4/DEBIT_MC/customer/{customerId}/account/{accountId} \
--header 'Content-Type: application/json' \
--data '{
"expiration": {
"year": 2019,
"month": 1
},
"segment": "SEGMENT_A",
"pinStatus": "D",
"digitalLayoutCode": "abc123abc",
"scheduledClosing": {
"type": "TIMEBASED",
"time": "2099-12-31T03:00:00.000Z"
},
"additionalValues": [
{
"key": "<string>",
"value": "<string>"
}
],
"encryptedData": "<string>",
"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
},
"productCode": "MC_CARD_2, VISA_CARD1, VISA_VIRTUAL_3, MC_VIRTUAL_2, VISA_CARD",
"pinAddress": {
"address1": "Kings street 12",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "Mariehamn",
"country": "FIN",
"region": "Åland Islands",
"zipCode": 22100
},
"cardAddress": {
"address1": "Kings street 12",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "Mariehamn",
"country": "FIN",
"region": "Åland Islands",
"zipCode": 22100
}
}'
{
"description": "<string>",
"id": "<string>"
}