๐Ÿ’ฐReturn All Accounts of a Bank Account

Return account details and transactional data from a Bank Account Record.

Return All Accounts of a BankAccount

GET {{baseUrl}}/bank-accounts/:bank_account_id/accounts

Path Parameters

KeyTypeDescription

bank_account_id*

String

The UUID for a Bank Account that gets generated and returned in the POST Create new Bank Account response.

```json
{
    "data": [
        {
            "id": "{{bankAccountId}}",
            "accountNumber": "62938037018",
            "accountName": "FNB PREMIER CURRENT ACCOUNT",
            "accountBalance": "41808.31",
            "accountHolder": "MISS KIRSTEN J HANCOCK",
            "accountAddress": "27 LANNER ST PARKDENE EXT 2 1459",
            "transactions": [
                {
                    "id": "{{transactionId}}",
                    "type": "credit",
                    "amount": 120,
                    "description": "#Rev Monthly Account Fee",
                    "date": "2023-03-28T00:00:00",
                    "balance": 42385.74,
                    "category": "Income",
                    "category_slug": "income",
                    "category_type": null
                },
                {
                    "id": "{{transactionId}}",
                    "type": "debit",
                    "amount": 42,
                    "description": "POS Purchase Uber Rides 479012*3080 23 Mar",
                    "date": "2023-03-29T00:00:00",
                    "balance": 42343.74,
                    "category": "Expenses",
                    "category_slug": "expenses",
                    "category_type": null
                },
                {
                    "id": "{{transactionId}}",
                    "type": "debit",
                    "amount": 130,
                    "description": "POS Purchase Kleinkaap Boutique 479012*3080 25 Mar",
                    "date": "2023-03-29T00:00:00",
                    "balance": 42213.74,
                    "category": "Expenses",
                    "category_slug": "expenses",
                    "category_type": null
                },
                {
                    "id": "{{transactionId}}",
                    "type": "debit",
                    "amount": 405.43,
                    "description": "POS Purchase Woolworths 479012*3080 27 Mar",
                    "date": "2023-03-29T00:00:00",
                    "balance": 41808.31,
                    "category": "Expenses",
                    "category_slug": "expenses",
                    "category_type": null
                }
            ]
        }
    ]
}
``````

Last updated