Request

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

NameDescriptionTypeRequired
FilePDF which needs to be analysedfileYes
PasswordPassword for the PDF (If PDF is password protected)stringNo
statementTypeThere 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.stringNo
documentTypeRepresents the type of bank statement to be analyzed, PDF(default) or SCANNEDstringNo