Parameter Description
Name | Description | Type | Required |
---|---|---|---|
files | PDF Files to be analyzed | files | Yes |
passwords | Comma separated passwords of attached PDFs. (If there are no password, pass a comma separated empty string e.g. { , }) | string | Yes |
statementTypes | Comma statement types of attached PDFs | string | Yes |
baseStatementKey | Statement Key of initially processed statement | int | Yes |
uniqueIdentifier | Unique Id to Identify the consolidated statement | string | No |
bvn | Bvn Of Consolidated Statement | string | No |
bearertoken | Authentication Credentials | string | Yes |
CURL Request
curl --location --request PUT 'https://api.insights-periculum.io/statements/link-multiple-pdfs' \
--header 'Authorization: Bearer {bearertoken}' \
--form 'files=@"/C:/file1.pdf"' \
--form 'files=@"/C:/file2.pdf"' \
--form 'passwords="password1,password2"' \
--form 'statementTypes="CONSUMER,BUSINESS"' \
--form 'baseStatementKey="3"' \
--form 'uniqueIdentifier="{uniqueId}"' \
--form 'bvn="{bvn}"'