> 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/hata-kodlari.md).

# Hata Kodları

**Servis Hata Kodları ve Açıklamaları;**

Servisler üzerinden yapılan işlemlerin sonucunda, hata oluşması durumunda sistem tarafından belirli hata kodları dönmektedir. Esnekpos ödeme API'sinin döndüğü cevap ve bu cevaptaki hata kodları ile açıklamaları şu şekildedir;

<table><thead><tr><th width="90">RETURN_CODE</th><th width="234.33333333333331">STATUS</th><th>Açıklama</th></tr></thead><tbody><tr><td>100</td><td>ERROR</td><td>Servis kullanım yetkisi olmadığında ve diğer tüm genel hatalarda bu mesaj dönmektedir.</td></tr><tr><td>101</td><td>FIELD_ERROR</td><td>İstek mesajlarında gönderilen alanların hatalı olması durumunda bu mesaj dönmektedir.</td></tr><tr><td>102</td><td>AUTHENTICATION_ERROR</td><td>Kimlik doğrulama yapılamadığında bu hata mesajı dönmektedir.</td></tr><tr><td>103</td><td>LIMIT_ERROR</td><td>Ödeme isteklerinde limit yetersiz olduğunda bu hata mesajı dönmektedir.</td></tr><tr><td>104</td><td>COMMISSION_ERROR</td><td>Komisyon bilgilerinin tanımlanmamış olması veya eksik tanımlanmasından dolayı bu mesaj dönmektedir.</td></tr><tr><td>105</td><td>INSERT_ERROR</td><td>Veritabanı kayıt işlemlerinde karşılaşılan hatalarda bu mesaj dönmektedir.</td></tr><tr><td>106</td><td>BRAND_ERROR</td><td>Ödeme yapılacak kartın family(bonus, amex, combo, vs...) tipi üye işyerine kısıtlandırılmış ise bu mesaj dönmektedir.</td></tr><tr><td>201</td><td>PAYMENT_ERROR</td><td>Ödeme esnasında alınan hatalara bu mesaj dönmektedir.</td></tr><tr><td>206</td><td>Not3DAuthentication</td><td>3D Doğrulama yapılamadığı zaman bu hata mesajı dönmektedir.</td></tr><tr><td>34</td><td>BLOCKED_ERROR</td><td>Kara Listede yer alan bir veri ile işlen yapıldığına bu hata mesajı dönmektedir.</td></tr><tr><td>300</td><td>ORDER_CANCEL</td><td>Pazaryeri ödeme iptal servisinde oluşan hatalarda bu mesaj dönmektedir.</td></tr><tr><td>400</td><td>PROCESS_QUERY</td><td>İşlem durum sorgulama servisinde oluşan hatalarda bu mesaj dönmektedir.</td></tr><tr><td>500</td><td>DIRECT_PAYMENT</td><td>3D'siz(Direk) ödeme işlemlerinde oluşan hatalarda bu mesaj dönmektedir.</td></tr></tbody></table>

hoppa ödeme API'sinin döndüğü örnek cevap şablonu;

```json
                                            
                                        
                                                {
                                                "RETURN_CODE": "0",
                                                "RETURN_MESSAGE": "SUCCESS",
                                                "STATUS": "SUCCESS",
                                                "ORDER_REF_NUMBER": null,
                                                "REFNO": null
                                                }
                                            
                                        
```


---

# 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/hata-kodlari.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.
