List Documents
Retrieves a paginated list of all documents associated with a specific customer.
This endpoint provides comprehensive document metadata including file information, verification status, and administrative details for all documents belonging to the customer.
Endpoint
GET/v2/customer/{customerId}/file
Link
Request
Path Parameters
Parameter
Type
Description
Required
Example
customerId
string
Customer ID to retrieve documents for.
Yes
"cust_12345"
Query Parameters
Parameter
Type
Description
Required
Example
meta.page
integer
Page number (starts from 0).
No
0
meta.pageSize
integer
Number of items per page.
No
20
Headers
Key
Value
Required
Authorization
123
Yes
Accept
application/json
Yes
Response (200 OK)
Returns a paginated list of document metadata with comprehensive information about each document.
Response Fields
1. Items Array (Document List)
Field
Type
Description
Example
id
string
Unique document identifier.
"doc_abc123"
customerId
string
Customer ID who owns the document.
"cust_12345"
fileName
string
Original filename.
"passport_scan.pdf"
size
integer
File size in bytes.
2048576
mime
string
MIME type of the document.
"application/pdf"
docType
string
Document type/category.
"PASSPORT"
info
string
Additional information/notes.
"Primary identification document"
isLock
boolean
Whether document is locked from modifications.
false
createAt
string
Document creation timestamp.
"2024-05-15T10:30:00Z"
status
string
Current verification status.
"DST_APPROVED"
2. Meta Object (Pagination)
Field
Type
Description
Example
pageSize
integer
Number of items per page.
20
page
integer
Current page number (0-indexed).
0
total
string
Total number of documents.
"15"
Example Response:
json
Field Details
Document Type Values
Document Type
Description
Common Use
PASSPORT
Passport document
Identity verification
DRIVERS_LICENCE_FRONT
Driver's license (front)
Identity verification
DRIVERS_LICENCE_BACK
Driver's license (back)
Identity verification
GOVERNMENT_ID_FRONT
Government ID (front)
Identity verification
GOVERNMENT_ID_BACK
Government ID (back)
Identity verification
UTILITY_BILL
Utility bill
Address verification
BANK_STATEMENT
Bank statement
Financial verification
INCORPORATION_DOCUMENTS
Business incorporation
Business verification
ARTICLES_OF_INCORPORATION
Articles of incorporation
Business verification
FINANCIAL_STATEMENT
Financial statements
Financial verification
LEASE_AGREEMENT
Lease agreement
Address verification
PAYSLIP
Payslip
Income verification
OPERATION_DOCUMENT
Operation-related
Transaction support
OTHER_1, OTHER_2, OTHER_3
Miscellaneous
Various purposes
Document Status Values
Status
Description
Meaning
DST_APPROVED
Document approved
Verified and accepted
DST_SUBMITTED
Document submitted
Awaiting review
DST_CHANGES_REQUESTED
Changes requested
Requires modifications
DST_REJECTED
Document rejected
Failed verification
DST_MISSING
Document missing
Required document not provided
Common MIME Types
MIME Type
Description
Typical Use
application/pdf
PDF document
Contracts, statements
image/jpeg
JPEG image
Photos, scans
image/png
PNG image
Screenshots, digital images
application/msword
Word document
Agreements, letters
Examples
Request
bash
Complete Customer Document Set Example
Response:
json
Business Customer Documents Example
Response:
json
Customer with Mixed Status Documents Example
Response:
json
Empty Document List Example
Response:
json
Pagination Example (Second Page)
Request:
bash
Response:
json
Error Responses
Customer Not Found:
json
Unauthorized:
json
Invalid Pagination:
json
Notes
Pagination: Use
meta.pageandmeta.pageSizefor large document setsDefault Page Size: If not specified, default page size is typically 20 items
Total Count:
meta.totalprovides the complete count for pagination calculationsDocument Order: Documents are typically returned by creation date (newest first)
Status Filtering: All statuses are included in the list; filter client-side if needed
Common Use Cases:
Customer onboarding progress tracking
Compliance auditing and reporting
Document verification status monitoring
File management and organization
KYC/AML compliance checking
Document Status Summary:
Approved: Ready for use in transactions
Submitted: Awaiting verification
Changes Requested: Requires customer action
Rejected: Cannot be used, needs replacement
Missing: Required document not yet provided
Last updated

