> For the complete documentation index, see [llms.txt](https://developer.esnekpos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.esnekpos.com/hoppa-gelistirici-ortami/odeme-istegi-servisi/odeme-istegi-durum-sorgulama.md).

# Ödeme İsteği Durum Sorgulama

<table><thead><tr><th width="104.33333333333331">Metod</th><th width="490">API URL</th><th>Parametreler</th></tr></thead><tbody><tr><td>POST</td><td>https://base-url/api/services/SendPaymentRequestQuery</td><td>JSON File</td></tr></tbody></table>

Servise gönderilmesi gereken parametreler şu şekildedir;

\
Ödeme İsteği Gönderimi Servisi İstek Mesajı Parametreleri

<table><thead><tr><th width="277">Parametre</th><th width="92">Tip</th><th width="77">Zorunlu</th><th>Açıklama</th></tr></thead><tbody><tr><td>MERCHANT</td><td>string</td><td>Evet</td><td>Üye iş yerine özel oluşturulan eşsiz kimlik bilgisidir.</td></tr><tr><td>MERCHANT_KEY</td><td>string</td><td>Evet</td><td>Üye iş yerine özel oluşturulan anahtar bilgisidir.</td></tr><tr><td>SEND_PAYMENT_REQUEST_ID</td><td>string</td><td>Evet</td><td>Üye işyerinin oluşturmuş olduğu ödeme isteği sonucu dönmüş olduğumuz "SendPaymentRequestId" parametre bilgisidir.</td></tr></tbody></table>

Servise gönderilecek örnek bir JSON dosyası şu şekildedir;

```json
{ 
    "MERCHANT": "TEST1234", 
    "MERCHANT_KEY": "4oK26hK8MOXrIV1bzTRVPA==", 
    "SEND_PAYMENT_REQUEST_ID": 2482 
} 
```

Servisten işlem sonrasında gönderilen cevap mesajına ait parametreler şu şekildedir;

Ödeme İsteği Gönderimi Servisi örnek bir JSON Response dosyası şu sekildedir;

```json
{ 
    "PAYMENTS": [ 
        { 
            "REFNO": "203761", 
            "PAYMENT_STATUS": "Ödeme - Başarısız", 
            "DATE": "17.10.2024 16:20:27", 
            "PAYMENT_DATE": "17.10.2024 16:18:11", 
            "AMOUNT": "10,56", 
            "ORDER_REF_NO": "37b86fc4-adf6-49db-815e-a80cff9d3dc8", 
            "INSTALLMENT": "1", 
            "COMMISSION": 0.16, 
            "COMMISSION_RATE": "1,490", 
            "SUCCESS_TRANSACTION_ID": null 
        }, 
        { 
            "REFNO": "203762", 
            "PAYMENT_STATUS": "Ödeme - Başarılı", 
            "DATE": "17.10.2024 16:20:27", 
            "PAYMENT_DATE": "17.10.2024 16:20:06", 
            "AMOUNT": "10,56", 
            "ORDER_REF_NO": "1ff755d2-8b74-4317-a721-295947d0fb5b", 
            "INSTALLMENT": "1", 
            "COMMISSION": 0.16, 
            "COMMISSION_RATE": "1,490", 
            "SUCCESS_TRANSACTION_ID": 538224 
        } 
    ], 
    "RETURN_CODE": "0", 
    "RETURN_MESSAGE": "SUCCESS", 
    "STATUS": "SUCCESS" 
} 
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.esnekpos.com/hoppa-gelistirici-ortami/odeme-istegi-servisi/odeme-istegi-durum-sorgulama.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
