Page cover

List Issued Accounts

Endpoint

GET {{base_url}}/v1/accounts?currency=<currency_code>

Description

This endpoint retrieves a list of accounts that have been issued by Prune to the organization.

Query Parameters

  • currency_code (string, required): The currency code of the accounts to retrieve (e.g., EUR, GBP).

  • page (integer, optional): The specific page number of results to retrieve.

Response

On success, the API returns a JSON array containing the details of the issued company accounts.

{
    "status": true,
    "message": "GBP accounts fetched successfully",
    "data": [
        {
            "id": "c3b410ed-83f1-4bad-99b8-26e6d03c0a3f",
            "accountName": "adeyemitest69 ibraheeemtesting6",
            "accountNumber": "00002537",
            "sortCode": "041917",
            "createdAt": "2025-07-20T11:39:05.949Z",
            "accountBalance": 0,
            "companyId": "3b636ed5-8d99-4cee-93ee-d9497aa86d03",
            "status": "ACTIVE",
            "accountIban": "GB78ARPY04191700002537",
            "type": "USER",
            "isTrusted": false,
            "currency": "GBP"
        },
        {
            "id": "e2540e2f-41b1-4c55-a829-d6d83009cc97",
            "accountName": "adeyemitest68 ibraheeemtesting6",
            "accountNumber": "00002532",
            "sortCode": "041917",
            "createdAt": "2025-07-20T11:34:37.766Z",
            "accountBalance": 0,
            "companyId": "3b636ed5-8d99-4cee-93ee-d9497aa86d03",
            "status": "ACTIVE",
            "accountIban": "GB19ARPY04191700002532",
            "type": "USER",
            "isTrusted": false,
            "currency": "GBP"
        },
        {
            "id": "75ffc6d1-60f7-4ace-8267-e46192987339",
            "accountName": "trusted14 and sons",
            "accountNumber": "00002525",
            "sortCode": "041917",
            "createdAt": "2025-07-15T14:07:58.585Z",
            "accountBalance": 0,
            "companyId": "3b636ed5-8d99-4cee-93ee-d9497aa86d03",
            "status": "ACTIVE",
            "accountIban": "GB14ARPY04191700002525",
            "type": "CORPORATE",
            "isTrusted": false,
            "currency": "GBP"
        },
        {
            "id": "4c5bad82-1739-4332-ba24-a39c9dda661f",
            "accountName": "trusted12 and sons",
            "accountNumber": "00002520",
            "sortCode": "041917",
            "createdAt": "2025-07-15T14:06:49.385Z",
            "accountBalance": 0,
            "companyId": "3b636ed5-8d99-4cee-93ee-d9497aa86d03",
            "status": "ACTIVE",
            "accountIban": "GB52ARPY04191700002520",
            "type": "CORPORATE",
            "isTrusted": false,
            "currency": "GBP"
        },
        {
            "id": "3b5ea9f8-1e06-4880-a05c-9af309497f5d",
            "accountName": "adeyemitest2 ibraheeemtesting5",
            "accountNumber": "00002518",
            "sortCode": "041917",
            "createdAt": "2025-07-15T14:06:01.865Z",
            "accountBalance": 0,
            "companyId": "3b636ed5-8d99-4cee-93ee-d9497aa86d03",
            "status": "ACTIVE",
            "accountIban": "GB09ARPY04191700002518",
            "type": "USER",
            "isTrusted": false,
            "currency": "GBP"
        }
    ],
    "meta": {
        "total": 5
    },
    "code": 200
}

Last updated