Get Document Information
Retrieves detailed metadata and status information for a specific customer document.
This endpoint provides comprehensive document information including file details, document type, verification status, and administrative metadata without returning the actual file content.
Endpoint
GET/v2/customer/{customerId}/file/{id}/info
Link
Request
Path Parameters
Parameter
Type
Description
Required
Example
customerId
string
Customer ID that owns the document.
Yes
"cust_12345"
id
string
Document unique ID to retrieve info for.
Yes
"doc_abc123"
Headers
Key
Value
Required
Authorization
123
Yes
Accept
application/json
Yes
Response (200 OK)
Returns comprehensive document metadata including file information, document type, verification status, and administrative details.
Response Fields
Document Object
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"
Example Response:
json
Field Details
Document Type Values
Document Type
Description
Use Case
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
IDENTITY_CARD_FRONT
Identity card (front)
Identity verification
IDENTITY_CARD_BACK
Identity card (back)
Identity verification
UTILITY_BILL
Utility bill
Address verification
BANK_STATEMENT
Bank statement
Financial verification
INCORPORATION_DOCUMENTS
Business incorporation docs
Business verification
ARTICLES_OF_INCORPORATION
Articles of incorporation
Business verification
BENEFICIAL_CERTIFICATE
Beneficial ownership certificate
Business verification
FINANCIAL_STATEMENT
Financial statements
Financial verification
LEASE_AGREEMENT
Lease agreement
Address verification
PAYSLIP
Payslip
Income verification
SOCIAL_SECURITY_CARD
Social security card
Identity verification
POWER_OF_ATTORNEY
Power of attorney
Authorization
ACCOUNT_AGREEMENT
Account agreement
Compliance
OPERATION_DOCUMENT
Operation-related document
Transaction support
OTHER_1, OTHER_2, OTHER_3
Miscellaneous documents
Various purposes
Document Status Values
Status
Description
Meaning
DST_APPROVED
Document approved
Document verified and accepted
DST_SUBMITTED
Document submitted
Awaiting review
DST_CHANGES_REQUESTED
Changes requested
Requires modifications/resubmission
DST_MISSING
Document missing
Required document not provided
DST_REJECTED
Document rejected
Failed verification
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
application/vnd.openxmlformats-officedocument.wordprocessingml.document
Word document (modern)
Agreements, letters
Examples
Request
bash
Approved Passport Example
Response:
json
Pending Utility Bill Example
Response:
json
Business Incorporation Documents Example
Response:
json
Rejected Bank Statement Example
Response:
json
Locked Identity Document Example
Response:
json
Error Responses
Document Not Found:
json
Customer Not Found:
json
Unauthorized:
json
Access Denied:
json
Notes
Metadata Only: This endpoint returns document metadata, not the actual file content
File Size: Size is returned in bytes (e.g., 2048576 = ~2MB)
Lock Status: Locked documents cannot be modified or deleted
Status Flow: Documents typically progress:
SUBMITTED→APPROVED/CHANGES_REQUESTED/REJECTEDCompliance: Document types are categorized for regulatory compliance (KYC/AML)
Common Use Cases:
Document status tracking and monitoring
Compliance auditing and reporting
Customer onboarding progress tracking
Document verification workflow management
File management and organization
Document Lifecycle:
Upload → Document submitted by customer
Review → Compliance team evaluates document
Decision → Document approved, rejected, or changes requested
Lock → Approved documents often locked to prevent modifications
Last updated

