Skip to main content
POST
/
v1
/
bsa
/
upload
Upload File
curl --request POST \
  --url https://production.deepvue.tech/v1/bsa/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'files=<string>' \
  --form 'entity_name=<string>' \
  --form 'entity_type=<string>' \
  --form 'account_number=<string>' \
  --form 'account_type=<string>' \
  --form 'bank_code=<string>' \
  --form 'file_password=<string>' \
  --form 'webhook_url=<string>' \
  --form files.items='@example-file'
{
  "code": 201,
  "timestamp": 1744185415580,
  "transaction_id": "17e04494-b89a-4100-9f6e-a69625363232",
  "sub_code": "REQUEST_ACCEPTED",
  "message": "File successfully Submitted.",
  "data": {
    "referenceId": "04b603f0-aa96-4e7b-8123-6b0e494640eb"
  }
}

Authorizations

Authorization
string
header
required

ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .

x-api-key
string
header
required

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

Body

multipart/form-data
files
file[]

Upload bank statement files (PDF)

entity_name
string

Name of the account holder

entity_type
string

Type of entity. Enum values: Individual, Company, Partnership, Sole_Propriotership

account_number
string

Bank account number

account_type
string

Type of account. Enum values: Savings, Current, Cash_Credit, Over_Draft

bank_code
string

Bank code as mentioned in the list of supported bank codes

file_password
string

Password for password protected PDFs

webhook_url
string

Your webhook URL where you wish to receive the analysed report

Response

Successful Response