v1

latestOpenAPI 3.1.02026-07-132363652.9 MB
Merchant Documents

Upload a document for a merchant. Requires multipart/form-data with fields: file (binary) and documentType (string)

Upload a document for a merchant. Requires multipart/form-data with fields: file (binary) and documentType (string)

post/api/v1/merchants/{id}/documents

Path parameters

idstring uuid required

The unique identifier of the merchant

Example:123e4567-e89b-12d3-a456-426614174000

The unique identifier of the merchant

Response

Created

successboolean required

Indicates if the request was successful

Example response

{
  "success": true,
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "documentType": "CERTIFICATE_OF_INCORPORATION",
    "fileName": "certificate.pdf",
    "uploadedAt": "2024-01-15T10:30:00.000Z"
  }
}