Retrieve all documents for a Business Account. This includes documents for the Business Account itself as well as documents for the Beneficial Owners and Customer Accounts within the Business Account.
You can use the following query parameters to filter the results:
You can also sort the results and limit the number of results returned.
Note Documents will be retrieved for the Business Account associated with the request access token.
GET /v1/documents
Authorization: Bearer <access_token>
holderId
string (UUID)
To retrieve documents for a specific Beneficial Owner or Customer Account, provide their RocketKOR account ID.
documentTypes
string enum, values: driving-license, passport, formation, tax, ownership, other
Filter the results by the type of document. The following values are supported:
Use a comma-separated list to specify multiple values (example: driving-license,passport).
documentStatus
string enum, values: NEW, UPLOADED, INCOMPLETE, SCANNED, MALICIOUS
Filter the results by document status. The following values are supported:
sort
array of strings
Sort the response by any field in ascending or descending order. The default sort order is createdAt,DESC. For more information, see Sorting and Pagination.
page
integer (int32)
Page number to return, based on zero-based page indexing.
size
integer (int32)
Maximum number of results to return per page.
None
Returns a paginated response with an array of Document Summary objects.
SAMPLE RESPONSE
{
"totalElements": 3,
"totalPages": 1,
"number": 0,
"numberOfElements": 3,
"hasNext": false,
"content": [
{
"id": "b175994b-fd5b-46d6-aba9-73638902f4a0",
"documentType": "driving-license",
"name": "John Doe Driving License",
"description": "driving license",
"status": "NEW",
"createdBy": {
"id": "c503092d-e6c4-4f7a-b893-46ebe56b18a8",
"type": "service-account"
},
"createdAt": "2023-05-03T23:11:59.656Z"
},
{...},
{...}
]
}
Step into the future of Finance with RocketKOR! Simplify payments, banking, lending, and data analytics using our versatile KOR Platform.
A Rocket Financial Inc. company
@ 2024 RocketKOR, Inc. All rights reserved.