Get accounts by customer
Get details of accounts belonging to a particular customer using the customer’s ID as a reference
Path parameters
ID of customer to fetch accounts for
Query parameters
Accounts with balance equal or more than this amount
Accounts with balance equal or more than this amount
Accounts with balance equal or less than this amount
Accounts with balance equal or less than this amount
Accounts created after and on this date. Format is 'yyyy-MM-dd'T'HH:mm:ssZ' where Z is UTC offset. e.g 2017-01-28T01:01:01+0000
Accounts created after and on this date. Format is 'yyyy-MM-dd'T'HH:mm:ssZ' where Z is UTC offset. e.g 2017-01-28T01:01:01+0000
Accounts created before and on this date. Format is 'yyyy-MM-dd'T'HH:mm:ssZ' where Z is UTC offset. e.g 2017-01-28T01:01:01+0000
Accounts created before and on this date. Format is 'yyyy-MM-dd'T'HH:mm:ssZ' where Z is UTC offset. e.g 2017-01-28T01:01:01+0000
Page to fetch (0 indexed)
Page to fetch (0 indexed)
Size of Page to fetch
Size of Page to fetch
Sort by field
Sort by field
Sorting order
Sorting order
The currency for getting account by currency. Expected ISO Standard currency name i.e. GBP, EUR etc
The currency for getting account by currency. Expected ISO Standard currency name i.e. GBP, EUR etc
Show available balance
Show available balance
Response
OK
Example response
{
"content": [
{
"id": "A0000001",
"balance": "10000.00",
"availableBalance": "10000.00",
"currency": "GBP",
"status": "ACTIVE",
"identifiers": [
{
"accountNumber": "12345678",
"sortCode": "000000",
"iban": "GB20MODR04001401100000",
"bic": "MODRGB21",
"currency": "GBP",
"countrySpecificDetails": {
"bankName": "Apple Bank",
"bankAddress": "2100 Broadway",
"bankCity": "New York City",
"bankBranchName": "New York",
"bankBranchCode": "44-04",
"chineseId": "01101201901018889",
"province": "Zhejiang",
"business": true,
"bankCodeType": "ABA",
"bankCountry": "US",
"abaRoutingNumber": "123456789"
},
"productId": "O2100001"
}
],
"customerId": "C0000001",
"externalReference": "aReference_00001",
"createdDate": "2017-01-28T01:01:01+0000"
}
]
}