POST
/
v4
/
PREPAID
/
customer
/
{customerId}
curl --request POST \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/account/v4/PREPAID/customer/{customerId} \
  --header 'Content-Type: application/json' \
  --data '{
  "address": {
    "address1": "Kings street 12",
    "address2": "<string>",
    "address3": "<string>",
    "address4": "<string>",
    "city": "Mariehamn",
    "country": "FIN",
    "region": "Åland Islands",
    "zipCode": 22100
  },
  "additionalValues": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ],
  "name": "My example account name",
  "number": 123456789,
  "segment": "SEGMENT_A",
  "paymentReference": {
    "number": 1234567897,
    "type": "MOD10"
  },
  "parentId": 9876543210,
  "productCode": "CARD_EUR_FI"
}'
{
  "description": "<string>",
  "id": "<string>"
}

Path Parameters

customerId
string
required

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

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json

The fields that you want to apply to your newly created account, these values will override the predefined template values

The body is of type object.

Response

201
application/json

Successful creation of the account

The response is of type object.