Get TR QR Code

URL

The relevant endpoint and https method information, where the latest status of the started TR QR code in the payment process is displayed, is given below.

HTTP Method URL
POST /Transactions/GetTRQRCode

Request Params

Params Type Mandatory Description
messageReferenceNumber string Yes Message Reference Number

Response Params

Params Type
status integer
code string
message string
payload object
qrCode string
createDate string
expireDate string
expireInSeconds string
status integer
lastStatusMessage string
lastStatusDate string
txCorrelationId integer
extTransactionId string

REQUEST (POST) :

{
  "messageReferenceNumber": "d8b521ee-aed1-48ae-a869-bab9b6d552cd"
}

RESPONSE:

{
  "status": 0,
  "code": null,
  "message": null,
  "payload": {
    "qrCode": null,
    "createDate": null,
    "expireDate": null,
    "expireInSeconds": "01:00:00",
    "status": 100,
    "lastStatusMessage": "WaitForPayment",
    "lastStatusDate": "2023-01-24T14:50:23.9968558+03:00",
    "txCorrelationID": null,
    "extTransactionId": null
  }
}

Fail Response:

{
  "status": 2,
  "code": "324",
  "message": "Kare kod geçerlilik süresi doldu",
  "payload": null
}

TR QR Kod Status Description Value

Type Value Description
WaitForPayment 100 Ödeme Bekleniyor
Approved 200 Ödeme Yapıldı
Canceled 300 İptal Edildi
Expire 400 Geçerlilik Süresi Doldu