Skip to main content
GET
/
v1
/
documents
/
{id}
Get a document
curl --request GET \
  --url http://localhost:8080/v1/documents/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "merchant_id": "<string>",
  "category": "incorporation",
  "status": "uploaded",
  "file_name": "<string>",
  "content_type": "<string>",
  "file_size": 123,
  "entity_type": "<string>",
  "entity_id": "<string>",
  "uploaded_by": "<string>",
  "description": "<string>",
  "reviewed_by": "<string>",
  "reviewed_at": "2023-11-07T05:31:56Z",
  "rejection_reason": "<string>",
  "expires_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Merchant API key: ak_live_... or ak_test_...

Path Parameters

id
string
required

Resource identifier (xid format)

Response

200 - application/json

Document details

id
string
merchant_id
string
category
enum<string>
Available options:
incorporation,
shareholder_register,
director_id,
ubo_id,
proof_of_address,
bank_statement,
license,
tax_certificate,
aml_policy,
financial_statement,
beneficiary_proof,
rfi_response,
other
status
enum<string>
Available options:
uploaded,
accepted,
rejected,
expired
file_name
string
content_type
string
file_size
integer<int64>
entity_type
string
entity_id
string
uploaded_by
string
description
string
reviewed_by
string
reviewed_at
string<date-time>
rejection_reason
string
expires_at
string<date-time>
created_at
string<date-time>