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 | /v1/Transaction/GetTRQRCode |
Params | Type | Mandatory | Description |
---|---|---|---|
QrRefNo | string | Yes | QR Reference Number |
Params | Type |
---|---|
status | integer |
code | string |
message | string |
payload | object |
qr_code | string |
qr_ref_no | string |
card_no | string |
create_date | string |
expire_date | string |
expire_in_seconds | string |
status | integer |
last_status_message | string |
last_status_date | string |
tx_correlation_id | integer |
ext_transaction_id | string |
REQUEST (POST) :
{
"QrRefNo": "211116134232"
}
RESPONSE:
{
"status": 0,
"code": null,
"message": null,
"payload": {
"qr_code": "99999921111613423221d1f09a88f8c5739a7954572a2056112852",
"qr_ref_no": "211116134232",
"card_no": "434610mvbkth7035",
"create_date": null,
"expire_date": null,
"expire_in_seconds": "01:00:00",
"status": 100,
"last_status_message": "WaitForPayment",
"last_status_date": "2023-09-19T14:18:34.8704702Z",
"tx_correlation_id": null,
"ext_transaction_id": null
}
}
Fail Response:
{
"status": 2,
"code": "324",
"message": "Kare kod geçerlilik süresi doldu",
"payload": null
}
Type | Value | Description |
---|---|---|
WaitForPayment | 100 | Ödeme Bekleniyor |
Approved | 200 | Ödeme Yapıldı |
Canceled | 300 | İptal Edildi |
Expire | 400 | Geçerlilik Süresi Doldu |