The relevant endpoint and http method information for the approval of the payment transaction with the QR code is given below.
| HTTP Method | URL |
|---|---|
| POST | /v1/Transaction/ApproveQRPayment |
| Params | Type | Mandatory |
|---|---|---|
| qr_code | string | Yes |
| account_number | string | Yes |
| sender_wallet_number | string | Yes |
| Params | Type |
|---|---|
| status | int |
| code | string |
| message | string |
| payload | object |
| qr_code | string |
| transaction_id | string |
| transaction_amount | decimal |
| transaction_fee | decimal |
| charged_amount | decimal |
| ext_order_id | string |
| business_code | string |
| business_code | string |
| business_name | string |
| friendly_name | string |
| receiver_account_number | string |
| receiver_wallet_number | string |
| sender_wallet_info | object |
| id | string |
| name | string |
| account_number | string |
| account_type | string |
| created_date_utc | string |
| number | string |
| phone_country_code | string |
| phone_number | string |
| string | |
| total_balance | decimal |
| monthly_incoming_total | decimal |
| monthly_outgoing_total | decimal |
| access_level_status_id | int |
| access_level_status | string |
| payment_balance | object |
| available | decimal |
| unavailable | decimal |
| cash_balance | object |
| available | decimal |
| unavailable | decimal |
| transaction_limits | object |
| max_balance | decimal |
| topup_credit_limit | decimal |
| topup_cash_limit | decimal |
| withdrawal_limit | decimal |
| payment_limit | decimal |
| wallet_to_wallet_limit | decimal |
| kyc_level_status | string |
| currency_code | string |
| user_kyc_info | string |
| is_topup_default | bool |
| tax_number | string |
| loyalty_record_required | bool |
REQUEST
{
"qr_code": "66521635177",
"account_number": "ENS123",
"sender_wallet_number": "123456789"
}
RESPONSE
{
"status": 0,
"code": "100",
"message": "İşlem başarılı",
"payload": {
"transaction_id": "4631244243747859469",
"transaction_amount": 1.1000,
"transaction_fee": 0.000000,
"charged_amount": 1.100000,
"ext_order_id": "1231235456",
"business_code": "",
"business_name": "",
"friendly_name": "",
"receiver_account_number": "Bm5",
"receiver_wallet_number": "1022272272",
"sender_wallet_info": {
"id": "8768626796666516296",
"name": "",
"account_number": "ENS123",
"account_type": "Personal",
"created_date_utc": "2021-08-25T13:32:20.5309979+00:00",
"number": "887303957",
"phone_country_code": null,
"phone_number": null,
"email": null,
"total_balance": 1015.65,
"monthly_incoming_total": 0.0,
"monthly_outgoing_total": 0.0,
"access_level_status_id": 1,
"access_level_status": "Aktif",
"payment_balance": {
"available": 42.50,
"unavailable": 0.00
},
"cash_balance": {
"available": 585.10,
"unavailable": 388.05
},
"transaction_limits": {
"max_balance": 50000.0000,
"topup_credit_limit": 50000.0000,
"topup_cash_limit": 50000.0000,
"withdrawal_limit": 50000.0000,
"payment_limit": 50000.0000,
"wallet_to_wallet_limit": 50000.0000
},
"kyc_level_status": null,
"currency_code": "TRY",
"user_kyc_info": null,
"is_topup_default": false,
"tax_number": null,
"loyalty_record_required": false
}
}