# Kart ekleme tamamlama

Düzenli ödemeye kart bilgisi ekleme işlemini tamamlayan servistir.

{% hint style="success" %}
<https://api.paynet.com.tr/v1/subscription/create\\_card\\_tds\\_confirm>
{% endhint %}

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

| Parametre ismi  | Tip    | Zorunlu | Açıklama                                                                                                          |
| --------------- | ------ | ------- | ----------------------------------------------------------------------------------------------------------------- |
| **session\_id** | string | Evet    | Kart ekleme akışının session bilgisi (Kart eklemeyi başlatan servisin dönüş parametresindeki session\_id bilgisi) |
| **token\_id**   | string | Evet    | İşlemin token bilgisi (Kart eklemeyi başlatan servisin dönüş parametresindeki token\_id bilgisi)                  |

{% endtab %}

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

| Parametre ismi               | Tip    | Açıklama                                                          |
| ---------------------------- | ------ | ----------------------------------------------------------------- |
| **is\_succeed**              | bool   | Kartın başarılı bir şekilde kaydedilip kaydedilmediğini belirtir. |
| **paynet\_error\_id**        | string | Hatanın Paynet'deki kodu                                          |
| **paynet\_error\_message**   | string | Hatanın Paynet mesajı                                             |
| **bank\_error\_id**          | string | Hatanın bankadaki kodu                                            |
| **bank\_error\_message**     | string | Hatanın banka mesajı                                              |
| **bank\_error\_short\_desc** | string | Hatanın banka kısa açıklaması                                     |
| **bank\_error\_long\_desc**  | string | Hatanın banka uzun açıklaması                                     |
| **card\_id**                 | string | Kart ID'si                                                        |
| **Result Info**              |        |                                                                   |

{% endtab %}

{% tab title="Request" %}

```
{  
"session_id": "session_id",
"token_id": "token_id"
}
```

{% endtab %}

{% tab title="Response" %}

```
{
    "domain": "",
    "token_id": null,
    "subscription_id": null,
    "paynet_error_id": "",
    "paynet_error_message": "",
    "bank_error_id": "",
    "bank_error_message": "",
    "bank_error_short_desc": "",
    "bank_error_long_desc": "",
    "subscription_gsm": "",
    "xact_id": 0,
    "card_id":""
    "otp_control": false,
    "attempt_day_count": 3,
    "group_reference_details": [],
    "object_name": "create_card_tds_confirm_response",
    "code": 1,
    "message": "Basarili islem"
}
```

{% endtab %}

{% tab title="Service Url" %}

| Sistem           | URL                                                                           |
| ---------------- | ----------------------------------------------------------------------------- |
| **Canlı Sistem** | <https://api.paynet.com.tr/v1/subscription/create\\_card\\_tds\\_confirm>     |
| **Test Sistemi** | <https://pts-api.paynet.com.tr/v1/subscription/create\\_card\\_tds\\_confirm> |

{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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:

```
GET https://doc.paynet.com.tr/servisler/abonelik/kart-ekleme/kart-islemi-tamamlama.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
