v1.0

Documents

Document management endpoints

Upload and retrieve documents.

List Documents

GET /api/public/v1/documents
ParameterTypeDescription
pagenumberPage number
limitnumberItems per page (max: 100)
deal_idstringFilter by deal
merchant_idstringFilter by merchant
typestringFilter by document type

Required Scope: documents:read

Get Document

GET /api/public/v1/documents/:id

Required Scope: documents:read

Create Document

POST /api/public/v1/documents

Required Scope: documents:write

{
  "name": "Bank Statement - March 2026",
  "type": "bankStatement",
  "dealId": "clx...",
  "merchantId": "clx..."
}