7-İşlem Raporu

Belirtilen tarihler arasındaki başarılı işlemlara ait bilgileri listeler.

Output: Result<List<object modelidir.

Request URL
POST API_URL/transactions

İşlem Raporu

//Request

var client = new RestClient(url);
var request = new RestRequest("transactions?startDate=2022-04-20&endDate=2022-04-21", Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("MerchantId", "MERCHANT ID NİZ");
request.AddHeader("UserId", "API USER ID NİZ");
request.AddHeader("ApiKey", "API KEY İNİZ");
var result = client.Execute(request);

//Response
{
    "Message": "Liste alındı",
    "ErrorCode": 0,
    "Errors": null,
    "IsDone": true,
    "ElapsedTime": 0,
    "Content": [
        {
            "UserId": 626,
            "UID": "7be83794-af29-4754-a8ee-88c30b119b67",
            "Id": 1837,
            "OrderId": "202204200912396437969",
            "Type": 1,
            "Channel": 2,
            "CardNo": "581877******2285",
            "CardOwner": "GÖ*** BI****",
            "AuthCode": "579282",
            "Amount": 300.0000,
            "WithdrawnAmount": 305.1600,
            "FmCostAmount": 5.1600,
            "NetAmount": 300.0000,
            "CreationTime": "2022-04-20T09:12:39.6437969"
        },
        {
            "UserId": 626,
            "UID": "bc2ca066-4a33-4130-840b-57f47ba62795",
            "Id": 1838,
            "OrderId": "202204200913017512539",
            "Type": 1,
            "Channel": 2,
            "CardNo": "581877******2285",
            "CardOwner": "GÖ*** BI****",
            "AuthCode": "619496",
            "Amount": 200.0000,
            "WithdrawnAmount": 203.4400,
            "FmCostAmount": 3.4400,
            "NetAmount": 200.0000,
            "CreationTime": "2022-04-20T09:13:01.7668954"
        }
            ]
}