Qr ile ödeme oluşturmak için ilgili endpoint ve http metod bilgisi aşağıda verilmiştir.
| HTTP Method | URL |
|---|---|
| POST | /v1/Transaction/CreateQRPayment |
| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
| ext_order_id | string | Evet | Sipariş ID |
| currency_code | string | Evet | Para Birimi |
| amount | decimal | Evet | İşlem Tutarı |
| description | string | Hayır | Açıklama |
| account_number | string | Evet | Hesap Numarası |
| receiver_wallet_number | string | Evet | Alıcı Cüzdan Numarası |
| Parametre | Tip | Açıklama |
|---|---|---|
| code | int | Kod |
| message | string | Mesaj |
| payload | obje | Veri |
| qr_code | string | Qr Kod |
İSTEK (POST) :
{
"ext_order_id": "1231235456",
"currency_code": "TRY",
"amount": 1,
"description": "Qr payment",
"account_number": "B_im_5",
"receiver_wallet_number": "1011179271"
}
YANIT:
{
"status": 100,
"code": null,
"message": null,
"payload": {
"qr_code": "24520408992"
}
}