Return Bankstatements for BankAccount
Return PDF bank statements that have been uploaded to a bank account.
200: OK Successfully Returned BankStatements for BankAccount 404: Not Found Missing / Invalid Parameter 404: Not Found Not Found 401: Unauthorized Unauthenticated
Copy ```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
}
]
}
```
Copy ```postman_json
{
"errors" : {
"code" : "entity_not_found" ,
"message" : "Record not found in module_bank_accounts"
}
}
```
Copy ```postman_json
{
"errors" : {
"code" : "entity_not_found" ,
"message" : "Record not found in module_bank_accounts"
}
}
```