> 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/tekrarli-odeme-servisi/kart-iptal-etme-servisi.md).

# Kart İptal Etme Servisi

**Kart İptal Etme Servisi İstek Modeli;**

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

ervise gönderilmesi gereken parametreler şu şekildedir;

Kart İptal Etme Servisi İstek Mesajı Parametreleri

<table><thead><tr><th width="217">Parametre</th><th width="86">Tip</th><th width="72">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>ORDER_REF_NUMBER</td><td>string</td><td>Evet</td><td>Üye iş yeri tarafından ödeme işlemi isteği gönderilirken verilmiş olan referans numarası bilgisidir. İptal edilecek kart işlemi ilgili üye iş yerine ait belirtilen referans numarası ile eşleştirilerek işlem gerçekleştirilir.</td></tr><tr><td>CARD_ID</td><td>string</td><td>Evet</td><td>Kart listeleme servisimizden dönen kart bilgileri arasındaki CARD_ID bilgisidir. İptal edilecek kart işlemi ilgili üye iş yerine ait belirtilen referans numarası ile eşleştirilerek işlem gerçekleştirilir.</td></tr></tbody></table>

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

&#x20;                                  &#x20;

```json
{
    "MERCHANT": "TEST1234",
    "MERCHANT_KEY": "4oK26hK8MOXrIV1bzTRVPA==",
    "ORDER_REF_NUMBER": "ORDER_REF_NUMBER",
    "CARD_ID": "13"
}
                                        
```

**Kart İptal Etme Servisi Cevap Mesajı;**

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

Kart İptal Servisi Cevap Mesajı Parametreleri

<table><thead><tr><th width="202">Parametre</th><th width="91">Tip</th><th width="75">Zorunlu</th><th>Açıklama</th></tr></thead><tbody><tr><td>RETURN_CODE</td><td>string</td><td>Evet</td><td>Kart ekleme işlemi sonucu durumu kod bilgisidir.</td></tr><tr><td>RETURN_MESSAGE</td><td>string</td><td>Evet</td><td>Kart ekleme işlemi sonucu durum mesaj bilgisidir.</td></tr></tbody></table>

```json
{
    "RETURN_CODE": "0",
    "RETURN_MESSAGE": "SUCCESS",
}
                                        
```

Kart iptal etme servisi cevap mesajında `RETURN_CODE` parametresinin değeri **0** ve `RETURN_MESSAGE` parametresinin değeri **SUCCESS** olarak dönmesi kart iptal etme servisi başarılı olarak gerçekleştiğini ifade etmektedir.


---

# 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/tekrarli-odeme-servisi/kart-iptal-etme-servisi.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.
