Fetch Merchant Transactions

this api Fetch Merchant Transactions


REST


Headers

FieldsTypeDescriptionExampleO/MData Management
URLstringv1/merchant_transactions?pagination.field=txnDate&pagination.after=20220201000000&pagination.before=20220228000000M
METHODstringGETM
content-typestringJSONapplication/jsonM
x-access-tokenstringSession token with validitytokenMaccess_token

Request



Success

    [
        {
        "_id": "6218d3c5576590189abd17e9",
        "files": [],
        "tags": [],
        "import_type": "card_swipe",
        "employee": "5af6896bd8582e202630fac4",
        "txnRefNo": "205618677890",
        "amount": 5,
        "mcc": "8220",
        "merchantName": "OneMobiKwikSystemPLtd  Haryana      hrIN",
        "amount_type": "expense",
        "merchantId": "MBIZAAK8220CYBS",
        "txnStatus": "PAYMENT_SUCCESS",
        "txnDate": "20220225183405",
        "retrievalRefNo": "205618763900",
        "extTxnId": "020076390002251304040000030005100000000000",
        "modified_ts": 1645794245,
        "balance": 103,
        "__v": 0
    }
    ]

Error

{
    "error": "Failed to authenticate token."
}