Skip to main content
GET
/
v1
/
documents
List my documents
curl --request GET \
  --url http://localhost:8080/v1/documents \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "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_...

Response

200 - application/json

List of documents

data
object[]