GET
/
v4
/
customer
/
{customerId}
{
  "available": 1000,
  "balance": 1000,
  "creditLimit": 10000,
  "currency": "EUR",
  "customerId": 55667788990,
  "id": 1234567890,
  "name": "My example account name",
  "number": 123456789,
  "parentId": 9876543210,
  "paymentReference": {
    "number": 1234567897,
    "type": "MOD10"
  },
  "status": "ACCOUNT_BLOCKED",
  "template": "string"
}
{
  "available": 1000,
  "balance": 1000,
  "creditLimit": 10000,
  "currency": "EUR",
  "customerId": 55667788990,
  "id": 1234567890,
  "name": "My example account name",
  "number": 123456789,
  "parentId": 9876543210,
  "paymentReference": {
    "number": 1234567897,
    "type": "MOD10"
  },
  "status": "ACCOUNT_BLOCKED",
  "template": "string"
}

Path Parameters

customerId
string<biginteger>
required

The customer id to fetch list of accounts for

Query Parameters

auditUser
string
required

The audit user to log the request

page
integer
default:0

Current page

size
integer
default:30

How many accounts should be returned per page, default is 30. Cannot be more than 100.

Required range: 1 < x < 100

Response

Successful lookup of accounts

creditLimit
number

Credit limit of the account

Example:

10000

available
number

Accounts's available amount

Example:

1000

balance
number

Account's balance

Example:

1000

currency
string

A valid ISO 4217 currency code

Example:

"EUR"

customerId
string

Customer id for account owner

Example:

55667788990

id
string

Unique account id for given account

Example:

1234567890

name
string

Human readable name of an account

Maximum length: 64
Example:

"My example account name"

number
string

Unique account number for given account. Must be numeric if paymentRefence.type defined as MOD10 or FINNISH_7_3_1! Note that selected account numbers might be reserved by Enfuce for internal usage.

Maximum length: 64
Example:

123456789

parentId
string

Account id of parent account. If empty then this is parent contract.

Example:

9876543210

status
enum<string>
Available options:
ACCOUNT_BLOCKED,
ACCOUNT_COLLECTION,
ACCOUNT_OK,
ACCOUNT_TO_CLOSE,
ACCOUNT_CLOSED,
ACCOUNT_AUTO_CLOSED
paymentReference
object

Number connected to account that will be used to map incoming payments to

template
string

Template name for which the account is connected to