v1

latestOpenAPI 3.0.32026-07-26208618579.9 KB
Create an account

Create a multi-currency account

This operation will create a multicurrency account

post/v4/{multiCurr}/customer/{customerId}

Path parameters

multiCurr'MULTICURR_DKK_DK' | 'MULTICURR_EUR_AT' | 'MULTICURR_EUR_DE' | 'MULTICURR_EUR_ES' | 'MULTICURR_EUR_FI' | 'MULTICURR_EUR_FR' | 'MULTICURR_EUR_IE' | 'MULTICURR_EUR_IT' | 'MULTICURR_GBP_GB' | 'MULTICURR_SEK_SE' | 'MULTICURR_EUR_NL' | 'MULTICURR_EUR_LU' | 'MULTICURR_EUR_BE' | 'MULTICURR_NOK_NO' | 'MULTICURR_EUR_PT' | 'MULTICURR_EUR_EE' | 'MULTICURR_EUR_LV' | 'MULTICURR_EUR_LT' | 'MULTICURR_EUR_MT' | 'MULTICURR_PLN_PL' required

Specific multicurrency template

customerIdstring biginteger required

The customer id of which customer you want to create the account on

Query parameters

auditUserstring required

The audit user to log the request

Request body

segment'SEGMENT_A' | 'SEGMENT_B' | 'SEGMENT_C' | 'SEGMENT_D' | 'SEGMENT_E' | 'SEGMENT_F'

Field enables to group an entity into a segment. This field will be exported but no logic is applied to this in Enfuce API

pinStatus'D' | 'W' | 'S'

This flag will indicate current status for PIN generation. If not specified system will automatically assign D as default and make sure a PIN is calculated during next embossing process. If set to W, then card will be excluded from embossing process until a PIN has been set and status has been updated to S. It is also possible to revert to D, in order for system to generate PIN. Note that system will update to status S automatically when a PIN is set successfully.

New card

In order for a new card to not get a system generated PIN then pinStatus flag must be set to W when created, this will then halt the embossing process for given card until a PIN has been set.

Reissue card

When reissuing a card it is possible to set pinStatus to W in order to hold embossing process for given card until a PIN has been set. Update pinStatus is done on same card id that is reissued.

Replace card

When replacing a card it is possible to set pinStatus to W in order to hold embossing process for given card until a PIN has been set. Update pinStatus is done on new card id that is returned when replacing.

  • D - default and a random PIN will be generated
  • W - waiting for PIN to be manually set
  • S - PIN has been set successfully
digitalLayoutCodestring

Id used for digital wallet artwork and other related assets. Use of this need to be agreed with Enfuce separately

encryptedDatastring

JWE encrypted card number, see details above

creditLimitnumber

Credit limit of the account

externalBalanceCheckboolean

The external balance check parameter enables the issuer to determine per account, whether the available balance during authorisation process should be checked by Enfuce or issuer (utilising Authorisation Control service). When set to “true”, Enfuce will not check the available balance of the account rather the issuer is expected to do it. As the parameter is set on account level, it will automatically apply to all cards linked to account in question. Please note that utilisation of this parameter requires implementation of the Authorisation Control service.

subAccountTemplatesSubAccountTemplatesEnum[]

Templates for sub accounts to be created. Check usage with Enfuce!

Example request

{
  "expiration": {
    "year": 2019,
    "month": 1
  },
  "digitalLayoutCode": "abc123abc",
  "scheduledClosing": {
    "time": "2099-12-31T03:00:00.000Z"
  },
  "creditLimit": 10000
}

Response

Successful creation of the account

descriptionstring

Short description of the result of the action

idstring

Will contain the ID of the resource that has been created or updated