API Reference
Document management endpoints
Upload and retrieve documents.
GET /api/public/v1/documents
| Parameter | Type | Description |
|---|---|---|
page | number | Page number |
limit | number | Items per page (max: 100) |
deal_id | string | Filter by deal |
merchant_id | string | Filter by merchant |
type | string | Filter by document type |
Required Scope: documents:read
GET /api/public/v1/documents/:id
Required Scope: documents:read
POST /api/public/v1/documents
Required Scope: documents:write
{
"name": "Bank Statement - March 2026",
"type": "bankStatement",
"dealId": "clx...",
"merchantId": "clx..."
}