Transaction Listesi

Üye işyeri üzerinden gerçekleştirilen işlemler listelenir.

URL

POST /api/Transaction/List

Servise gönderilen parametreler şu şekildedir:

Parametre
Tip
Açıklama

page*

int

Sayfa sayısı girilir.

startDate*

date

Başlangıç tarihi

orderBy*

boolean

Sıralama ölçütü

orderByDesc*

int

Azalan sırada listele

size*

int

Sayfa büyüklüğü girilir.

citizenshipNumber

int

TC kimlik numarası girilir.

transactionType

list

Transaction tipi

merchantId*

int

Üye işyeri Id girilir.

endDate*

date

Bitiş tarihi

cardNumber

int

Kart numarası girilir.

orderId

int

Sipariş numarası girilir.

responseCode

int

Cevap kodu

authCode

int

Doğrulama kodu girilir.

bankCode

int

Banka kodu girilir.

Servisten dönen parametreler şu şekildedir:

Parametre
Tip
Uzunluk
Açıklama

isSuccess

boolean

-

İşlem başarılı (true) ; işlem başarısız (false) bilgisi döner

message

string

255

isSuccess: true olması durumunda "İşlem başarılıdır." ; false olması durumunda alınan hata mesajı gelmektedir.

errorCode

string

5

isSuccess: true olması durumunda null ; false olması durumunda alınan hata codu gelmektedir.

requestId

string

64

Sistem tarafından isteğe ait unique ID bilgisidir.

data

array

-

Dizi olarak aşağıdaki parametreler dönmektedir

Örnek JSON formatında istek ve cevap aşağıdaki gibidir:

İstek

  
{
  "startDate": "2024-10-01",
  "endDate": "2024-11-15",
  "size": 50,
  "page": 0,
  "orderBy": "CreateDate",
  "merchantId": 97163,
  "transactionType": [
    "Auth"
  ],
  "citizenshipNumber": null,
  "orderId": null,
  "cardNumber": null,
  "authCode": null,
  "responseCode": null,
  "bankCode": null
}
  

Cevap

  
{
  "isSuccess": true,
  "message": "İşlem başarılıdır.",
  "errorCode": null,
  "requestId": "c991b56b-e875-4aa2-ad65-ff045782db7e",
  "data": [
    {
      "responseCode": null,
      "bankResponseCode": null,
      "bankCode": null,
      "bankName": null,
      "merchantId": 97163,
      "merchantName": "AHL Pay",
      "memberId": 1,
      "maskedPan": "411979******4284",
      "cardHolderName": "Mehmet Demir",
      "totalAmount": 1,
      "amount": 1,
      "userCode": "[email protected]",
      "txnType": "Auth",
      "installmentCount": "0",
      "currency": "949",
      "orderId": "{{guid}}",
      "rnd": "2023031321541332",
      "webUrl": "google.com",
      "description": "deneme",
      "requestIp": "string",
      "okUrl": "https://www.google.com",
      "failUrl": "https://www.facebook.com",
      "bankblocked": false,
      "bankblockedday": 0,
      "bankcommission": 1.2,
      "merchantblocked": false,
      "merchantblockedday": 0,
      "merchantcommision": 1.6,
      "merchantadditionalcommision": 0,
      "customercommission": 0,
      "customeradditionalcommission": 0,
      "cardType": "A",
      "paymentModel": "3D",
      "authCode": null,
      "endOfDayFlag": false,
      "endOfDayId": null,
      "endOfDayDate": null,
      "page": 0,
      "size": 0,
      "orderByDesc": false,
      "orderBy": null,
      "status": "START"
    },
    {
      "responseCode": null,
      "bankResponseCode": null,
      "bankCode": null,
      "bankName": null,
      "merchantId": 97163,
      "merchantName": "AHL Pay A.Ş.",
      "memberId": 1,
      "maskedPan": "411979******4284",
      "cardHolderName": "Mehmet Demir",
      "totalAmount": 1,
      "amount": 1,
      "userCode": "[email protected]",
      "txnType": "Auth",
      "installmentCount": "0",
      "currency": "949",
      "orderId": "66a547ae-b94a-4342-bb79-cbcc5fe4995b",
      "rnd": "2023031321541332",
      "webUrl": "google.com",
      "description": "deneme",
      "requestIp": "string",
      "okUrl": "https://www.google.com",
      "failUrl": "https://www.facebook.com",
      "bankblocked": false,
      "bankblockedday": 0,
      "bankcommission": 1.2,
      "merchantblocked": false,
      "merchantblockedday": 0,
      "merchantcommision": 1.6,
      "merchantadditionalcommision": 0,
      "customercommission": 0,
      "customeradditionalcommission": 0,
      "cardType": "A",
      "paymentModel": "3D",
      "authCode": null,
      "endOfDayFlag": false,
      "endOfDayId": null,
      "endOfDayDate": null,
      "page": 0,
      "size": 0,
      "orderByDesc": false,
      "orderBy": null,
      "status": "START"
    },
    {
      "responseCode": null,
      "bankResponseCode": null,
      "bankCode": null,
      "bankName": null,
      "merchantId": 97163,
      "merchantName": "AHL Pay A.Ş.",
      "memberId": 1,
      "maskedPan": "518896******2544",
      "cardHolderName": "Mehmet Demir",
      "totalAmount": 1,
      "amount": 1,
      "userCode": "[email protected]",
      "txnType": "Auth",
      "installmentCount": "0",
      "currency": "949",
      "orderId": "b9a6272a-be46-40a6-9f8e-358b00438c81",
      "rnd": "2023031321541332",
      "webUrl": "google.com",
      "description": "deneme",
      "requestIp": "string",
      "okUrl": "https://www.google.com",
      "failUrl": "https://www.facebook.com",
      "bankblocked": false,
      "bankblockedday": 0,
      "bankcommission": 1.2,
      "merchantblocked": false,
      "merchantblockedday": 0,
      "merchantcommision": 1.6,
      "merchantadditionalcommision": 0,
      "customercommission": 0,
      "customeradditionalcommission": 0,
      "cardType": "A",
      "paymentModel": "3D",
      "authCode": null,
      "endOfDayFlag": false,
      "endOfDayId": null,
      "endOfDayDate": null,
      "page": 0,
      "size": 0,
      "orderByDesc": false,
      "orderBy": null,
      "status": "START"
    },
    {
      "responseCode": null,
      "bankResponseCode": null,
      "bankCode": null,
      "bankName": null,
      "merchantId": 97163,
      "merchantName": "AHL Pay A.Ş.",
      "memberId": 1,
      "maskedPan": "518896******2544",
      "cardHolderName": "Mehmet Demir",
      "totalAmount": 1,
      "amount": 1,
      "userCode": "[email protected]",
      "txnType": "Auth",
      "installmentCount": "0",
      "currency": "949",
      "orderId": "a97cec96-6054-4d30-b602-ffa7847893ed",
      "rnd": "2023031321541332",
      "webUrl": "google.com",
      "description": "deneme",
      "requestIp": "string",
      "okUrl": "https://www.google.com",
      "failUrl": "https://www.facebook.com",
      "bankblocked": false,
      "bankblockedday": 0,
      "bankcommission": 1.2,
      "merchantblocked": false,
      "merchantblockedday": 0,
      "merchantcommision": 1.6,
      "merchantadditionalcommision": 0,
      "customercommission": 0,
      "customeradditionalcommission": 0,
      "cardType": "A",
      "paymentModel": "3D",
      "authCode": null,
      "endOfDayFlag": false,
      "endOfDayId": null,
      "endOfDayDate": null,
      "page": 0,
      "size": 0,
      "orderByDesc": false,
      "orderBy": null,
      "status": "START"
    },
    {
      "responseCode": null,
      "bankResponseCode": null,
      "bankCode": null,
      "bankName": null,
      "merchantId": 97163,
      "merchantName": "AHL Pay A.Ş.",
      "memberId": 1,
      "maskedPan": "518896******2544",
      "cardHolderName": "Mehmet Demir",
      "totalAmount": 1,
      "amount": 1,
      "userCode": "[email protected]",
      "txnType": "Auth",
      "installmentCount": "0",
      "currency": "949",
      "orderId": "6cb3bc5a-6e8e-4d9e-b384-1dce0f492c2a",
      "rnd": "2023031321541332",
      "webUrl": "google.com",
      "description": "deneme",
      "requestIp": "string",
      "okUrl": "https://www.google.com",
      "failUrl": "https://www.facebook.com",
      "bankblocked": false,
      "bankblockedday": 0,
      "bankcommission": 1.2,
      "merchantblocked": false,
      "merchantblockedday": 0,
      "merchantcommision": 1.6,
      "merchantadditionalcommision": 0,
      "customercommission": 0,
      "customeradditionalcommission": 0,
      "cardType": "A",
      "paymentModel": "3D",
      "authCode": null,
      "endOfDayFlag": false,
      "endOfDayId": null,
      "endOfDayDate": null,
      "page": 0,
      "size": 0,
      "orderByDesc": false,
      "orderBy": null,
      "status": "START"
    }
  ]
}
  

Last updated

Was this helpful?