๐ŸŽ’Return Bankstatements for BankAccount

Return all of the PDF bank statements that have been uploaded to a specific bank account.

Return Bankstatements for BankAccount

GET {{environmentUrl}}/{{tenantId}}/api/v1.1/bank-accounts/:bank_account_id/statements

Return PDF bank statements that have been uploaded to a bank account.

Path Parameters

NameTypeDescription

bank_account_id*

String

This is UUID for a Bank Account that gets generated and returned in the POST Create new Bank Account response. It ensures that the transactional data and statements retrieved in the online login session are saved to the correct Bank Account.

```postman_json
{
    "data": [
        {
            "id": "{{randomuuid}}",
            "bank_account_id": "{{bankAccountId}}",
            "statement_date": "2023-03-10",
            "start_date": "2023-02-11",
            "end_date": "2023-03-10",
            "temp_url": "https://fincheck-onboarding.s3.eu-west-1.amazonaws.com/uat/client_67ec56bb-0901-4dd6-91a3-4d9d4231cd9e/bank_accounts/9208010020089/2f4d9aff-0644-48dd-a2a7-18fc3d718a0f/bank_account/3.1-ABSA_Kirsten_Feb.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQOIKJL7BXFF7LDWP%2F20230502%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20230502T094821Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=688c257ffe276e4bf6a31d1b62559a4c38b39e3ae4c7fffe12eebb693a859813",
            "expires_in": "60m",
            "file": {
                "id": 1032,
                "name": "3.1 ABSA_Kirsten_Feb.pdf",
                "type": "pdf",
                "url": "http://uat.apply.fincheck.co.za/cash-advance/documents/3.1%20ABSA_Kirsten_Feb.pdf"
            },
            "transaction_count": 14,
            "month": "Feb 2023",
            "fraud": {
                "fraud_checks": {
                    "statement_balance": false,
                    "create_date": "not applicable",
                    "meta_mod_date": "not applicable",
                    "meta_producer": false,
                    "meta_creator": false,
                    "meta_author": false
                }
            },
            "processed": true
        }
    ]
}
```

Last updated