curl --location --request PUT 'https://api.insights-periculum.io/statements'
--header 'Authorization: Bearer string_encrypted_accesst_token'
--header 'Content-Type: application/multipart/form-data'
--data-body'{
"file": file,
"password:"",
"statementType":"consumer"
}'
Parameters
Name | Description | Type | Required |
---|---|---|---|
File | PDF which needs to be analysed | file | Yes |
Password | Password for the PDF (If PDF is password protected) | string | No |
statementType | There are two statement types that you can send JSON statements in. They are outlined in the parameters column in the Generate Statement Analytics table. If it is not included in the request, request will identify statement type as “CONSUMER” by default. | string | No |
documentType | Represents the type of bank statement to be analyzed, PDF(default) or SCANNED | string | No |