List all documents

Get all uploaded documents of merchant

GET https://<payengine-host>/merchant/:merchantId/document

Path Parameters

Name
Type
Description

merchant_id*

string

Merchant ID

Please see Upload new document section for field definitions

{
    "message": "succeeded",
    "data": [
        {
            "id": "23f0405c-b610-4dee-85b3-27b6b16e72e2",
            "merchant_id": "455d22ed-7dbb-4e3b-b791-ef3a6379eae0",
            "account_id": "a4c83161-e2c9-4aa4-83d8-922cdd593035",
            "attachment_type": "OTH",
            "attachment_description": "Bank statement",
            "attachment_format": "pdf",
            "attachment_size": 65970,
            "created_at": "2022-03-10T18:01:30.920Z",
            "updated_at": "2022-03-10T18:01:30.920Z",
            "attachment_name": "fields.pdf"
        }
    ]
}

Response Field Definition

See here

Last updated