๐Ÿ’ฐReturn All Accounts of a Bank Account

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

Return All Accounts of a BankAccount

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

Return all the PDF bank statements that have been stored on the bank_account_id.

Path Parameters

NameTypeDescription

bank_account_id*

String

The UUID for a Business Bank Account that gets generated and returned in either POST Create without Customer or POST Create with Customer response.

```json
{
    "data": [
        {
            "id": "{{bankAccountId}}",
            "accountNumber": "62938xxxxxx",
            "accountName": "FNB BUSINESS ACCOUNT",
            "accountBalance": "411808.31",
            "accountHolder": "XXXXXXXX (PTY) LTD",
            "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