> For the complete documentation index, see [llms.txt](https://doc.paynet.com.tr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.paynet.com.tr/uornek/servisler/abonelik/kart-bilgisi-silme.md).

# Kart Bilgisi Silme

Düzenli ödemeye ait müşterinin kayıt ettiği kartlardan silme yapmak için kullanılan servistir. Kayıtlı bir kart var ise silmesine izin vermez.

{% hint style="success" %}
<https://api.paynet.com.tr/v1/subscription/card_info_delete>
{% endhint %}

{% tabs %}
{% tab title="İstek Parametreleri" %}

| Parametre İsmi       | Tip    | Zorunlu | Açıklama               |
| -------------------- | ------ | ------- | ---------------------- |
| **card\_id**         | string | Evet    | Kartın id'si           |
| **subscription\_id** | string | Evet\*  | Düzenli ödeme ID       |
| **reference\_no**    | string | Evet\*  | Düzenli ödeme numarası |
| {% endtab %}         |        |         |                        |

{% tab title="Dönüş Parametreleri" %}

| Parametre İsmi   | Tip    | Açıklama                        |
| ---------------- | ------ | ------------------------------- |
| **object\_name** | string | Dönüş yapılan API’nin nesne adı |
| **code**         | string | Dönüş sonucunun kodu            |
| **message**      | string | Dönüş sonuç kodunun açıklaması  |
| **card\_id**     | string | Silinecek kart id'si            |
| {% endtab %}     |        |                                 |

{% tab title="Request" %}

```
{  
   "card_id":1800,
   "subscription_id":"",
   "reference_no":"90000350"
}
```

{% endtab %}

{% tab title="Response" %}

```
{
  "card_id": 1800,
  "object_name": "subscription_card_info_delete",
  "code": 0,
  "message": "Başarılı İşlem"
}

```

{% endtab %}

{% tab title="Service Url" %}

| Sistem           | URL                                                                                                                                                                                                                                                                     |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Canlı Sistem** | ​<https://api.paynet.com.tr/v1/subscription/card_info_delete>                                                                                                                                                                                                           |
| **Test Sistemi** | ​ [https://pts-api.paynet.com.tr​​\[/v1/subscription/card\\\_info\\\_delete](https://doc.paynet.com.tr/uornek/servisler/abonelik/https:/pts-api.paynet.com.tr​​\[/v1/subscription/card\\_info\\_delete)]\(<https://api.paynet.com.tr/v1/subscription/card_info_delete>) |
| {% endtab %}     |                                                                                                                                                                                                                                                                         |
| {% endtabs %}    |                                                                                                                                                                                                                                                                         |

{% hint style="info" %}
&#x20;\*subcription\_id veya reference\_no'dan en az birini göndermeniz gerekmektedir.
{% endhint %}


---

# 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://doc.paynet.com.tr/uornek/servisler/abonelik/kart-bilgisi-silme.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.
