Appearance
!--methodPOST--!/uploadDocument ā
Upload document for an application.
Broker APIPersonal LoanAuto Loan
š Authentication ā
- Bearer Token - Your API token
š Content-Type ā
Request | multipart/form-data |
Response | application/json |
š¦ Request Body ā
application_number RequiredThe
number
application_number
of the applicationcustomer_id RequiredCustomer's ID
number
document_type RequiredThe document's type
'Bank Statements' | 'Settlement Documents' | 'Payslips' | 'NOA' | 'BAS' | 'Other'
other_type_description SometimesDescription of the
string
max: 50Other
type documentRequired when document_type
is Other
file RequiredThe document file.
The file type can be one of
File
max: 1 file, no more than 5MBThe file type can be one of
'jpg' | 'jpeg' | 'png' | 'pdf'
ā¹ļø Examples ā
Request
json
{
"application_number": 1141136,
"customer_id": 3533,
"document_type": "Other",
"other_type_description": "Licence",
"file": "[Binary]"
}
json
{
"application_number": 1141136,
"customer_id": 3533,
"document_type": "Bank Statements",
"file": "[Binary]"
}
Response
json
{
"success": true
}
json
{
"message": "Document upload failed"
}
json
{
"message": "Unauthenticated."
}