Skip to main content
GET
/
v4
/
subAccount
/
{accountId}
Get accounts lower in the hierarchy
curl --request GET \
  --url 'https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/account/v4/subAccount/{accountId}' \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
string<biginteger>
required

The account 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