4-Ödeme Listesi

Pazaryeri ödemelerinin ilgili tarihteki ödeme listesini verir.

Output: Result modelidir.

Request URL
POST API_URL/payments

Ödeme Listesi

//Request

var client = new RestClient(url);
var request = new RestRequest("payments?date=2022-04-20", 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": [
        {
            "TransactionUID": "62b1944b-bd7f-4c6e-96f5-e3d311c35bc4",
            "AccountOwner": "HESAP SAHIBI",
            "SubMerchantId": 0,
            "Iban": "TR720006701000000078840200",
            "Amount": 10.0000,
            "Description": "Islem Aciklamasi",
            "Paid": true,
            "PayDate": "2022-04-20T12:08:52.4"
        },
        {
            "TransactionUID": "f057cfb0-8b69-4a31-ad6b-b45b73f89915",
            "AccountOwner": "HESAP SAHIBI",
            "SubMerchantId": 0,
            "Iban": "TR720006701000000078840200",
            "Amount": 10.0000,
            "Description": "Islem Aciklamasi",
            "Paid": true,
            "PayDate": "2022-04-20T12:08:52.4"
        }
            ]
}