Get List of Accounts
Endpoint Description
This endpoint retrieves a list of accounts associated with the authenticated user. It provides detailed information about each account, including customer details, account status, and currency information.
Request
Method: GET
URL: /v1/accounts/
Authentication: Requires authentication (see collection variables for keyId and privateKey).
Response
Status Code: 200 OK
Content-Type: application/json
Response Body
Response Description: On a successful request, the server responds with a status code of 200 and a JSON object containing the following structure:
[
{
"id": "7fb7c416-4526-44c2-8e57-30b6198af5e3",
"externalId": "F53292",
"customer": {
"id": "eed9d8fd-b35b-4e8f-b08f-6efe26126976",
"customerType": "BUSINESS",
"customerAddressId": null,
"loginAttempts": 0,
"terms": true,
"privacyPolicy": true,
"accountApplicationStatus": "APPROVED",
"verificationResult": "APPROVED",
"riskEvaluation": null,
"riskLevel": null,
"createdAt": "2025-04-02T06:32:56.678Z",
"updatedAt": "2025-04-24T18:53:36.599Z",
"lastLogin": "2025-04-24T18:53:36.598Z",
"productActivations": {},
"firstName": "rahul",
"lastName": "sivaji",
"dateOfBirth": null,
"email": "rahulsivaji921@gmail.com",
"phone": null,
"emailVerified": true
},
"type": "PERSONAL",
"status": "ACTIVE",
"baseCurrency": {
"id": "561ddd4b-3016-4ef1-8db0-1d3ac8ff4d96",
"currencyCode": "GBP",
"currencySymbol": "£",
"currencyFlag": "https://statics.xbd.money/images/flags/gbp.png"
},
"accountCurrencies": [
{
"id": "e45d8f69-cbcf-455d-8512-b0017d4e3941",
"banking_provider_account_id": "b01fb443-bc0e-4d4a-abec-6bef3497ac95",
"currency": {
"id": "e45d8f69-cbcf-455d-8512-b0017d4e3941",
"currencyCode": "GBP",
"currencySymbol": "£",
"currencyFlag": "https://statics.xbd.money/images/flags/gbp.png"
},
"balance": 19985,
"available": 19886,
"accountDetails": {
"IBAN": "dummyIban",
"bicSwiftCode": "",
"correspondentBic": "",
"beneficiary": null,
"sortCode": "12-12-12",
"accountNumber": "dummyAccountNumber",
"address": null
}
}
],
"createdAt": "2025-04-14T04:17:24.927Z",
"updatedAt": "2025-04-14T05:24:40.183Z"
}
]
Each object in the array represents an account and includes:
id
: The unique identifier for the account.externalId
: An external reference ID for the account.-
customer
: An object containing customer details:id
: The unique identifier for the customer.customerType
: The type of customer (e.g.,"BUSINESS"
).customerAddressId
: The identifier for the customer’s address (can benull
).loginAttempts
: The number of login attempts (e.g.,0
).terms
: A boolean indicating acceptance of terms.privacyPolicy
: A boolean indicating acceptance of the privacy policy.accountApplicationStatus
: The status of the customer’s account application.verificationResult
: The result of the customer verification process.riskEvaluation
: The risk evaluation result (can benull
).riskLevel
: The risk level (can benull
).createdAt
: The timestamp when the customer was created.updatedAt
: The timestamp of the last update to the customer profile.lastLogin
: The timestamp of the customer’s last login.productActivations
: An object detailing the activation status of various products (can be empty).firstName
: The customer’s first name.lastName
: The customer’s last name.dateOfBirth
: The customer’s date of birth (can benull
).email
: The customer’s email address.phone
: The customer’s phone number (can benull
).emailVerified
: A boolean indicating if the customer’s email has been verified.
type
: The type of account (e.g.,"PERSONAL"
).status
: The current status of the account (e.g.,"ACTIVE"
).-
baseCurrency
: An object containing base currency details:id
: The unique identifier for the currency.currencyCode
: The ISO currency code (e.g.,"GBP"
).currencySymbol
: The currency symbol (e.g.,"£"
).currencyFlag
: A URL pointing to the currency flag image.
-
accountCurrencies
: An array of objects, each representing a currency associated with the account:id
: The unique identifier for the account currency.banking_provider_account_id
: The identifier for the banking provider account.currency
: An object with:id
currencyCode
currencySymbol
currencyFlag
balance
: The current balance of the account in the currency.available
: The available balance of the account in the currency.accountDetails
: An object with the following (can benull
):IBAN
bicSwiftCode
correspondentBic
beneficiary
sortCode
accountNumber
address
createdAt
: The timestamp when the account was created.updatedAt
: The timestamp of the last update to the account.