> 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/kart-saklama/1.oedeme-sirasinda-kart-saklama/untitled-1.md).

# 1.3.Kart Kaydetme Servisi

Ödeme esnasında kartı Paynet sistemlerine kaydetmek istiyorsanız ve Auth servisinde belirlenmiş parametreler gönderilmemiş ise bu servisi kullanabilirsiniz. Kart açıklamasını gönderirseniz gönderdiğiniz açıklama ile işlem yapılır. göndermeseniz Paynet’in ekranında karta isim verebilirmek için alan çıkar.

{% hint style="success" %}
[https://api.paynet.com.tr/v1/paynetj/save\_card](https://api.paynet.com.tr/v1/paynetj/savecard)
{% endhint %}

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

| Parametre İsmi  | Tip    | Zorunlu | Açıklama                                                                                                                                                      |
| --------------- | ------ | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **session\_id** | string | Evet    | Auth servisiyle ilgili alınan session bilgisi                                                                                                                 |
| **card\_desc**  | string | Hayır   | Eğer kart açıklaması gönderilmez ise Paynet'in ekranı açıklama alır. Paynet kart saklama üyelik sözl. Vs ve okudum anladım çıkar.                             |
| **user\_gsm**   | string | Hayır   | 5XXXXXXXXX formatında kart sahibinin gsm nosu. OTP zorunlu ise zorunlu olacak. OTP zorunlu ve auth servisinde göndermediyseniz bu servisde göndermek zorunlu. |
| {% endtab %}    |        |         |                                                                                                                                                               |

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

| Parametre İsmi   | Tip    | Açıklama                                    |
| ---------------- | ------ | ------------------------------------------- |
| **session\_id**  | string | Auth ile başlatılan session                 |
| **object\_name** | string | Dönen cevabın nesne adı                     |
| **code**         | string | İşlemin cevap kodu 0 ise işlem başarılıdır. |
| **message**      | string | İşlemin cevap koduna göre mesaj barındırır. |
| {% endtab %}     |        |                                             |

{% tab title="Request" %}

```
{  
   session_id:"js_EAAAAMb2/RMGqozzIWMQWUTL5pJrdQvi/aD5qZ4A1LaDfo8g",
   card_desc:"onur ozdemir"
}
```

{% endtab %}

{% tab title="Response" %}

```
{
    "session_id": "js_EAAAALCbsO8tRNkc4NjA8tU2*2eDZfKhh6fSHHpGzKrc7T6q",
    "code": 0,
    "message": "Başarılı İşlem"
}
```

{% endtab %}

{% tab title="Service Url" %}

| Sistem           | URL                                                                                                                                                                                                                                                             |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Canlı Sistem** | [https://api.paynet.com.tr\[/v1/paynetj/save\\\_card](https://doc.paynet.com.tr/uornek/servisler/kart-saklama/1.oedeme-sirasinda-kart-saklama/https:/api.paynet.com.tr\[/v1/paynetj/save\\_card)]\(<https://api.paynet.com.tr/v1/paynetj/savecard>)             |
| **Test Sistemi** | [https://pts-api.paynet.com.tr​​\[/v1/paynetj/save\\\_card](https://doc.paynet.com.tr/uornek/servisler/kart-saklama/1.oedeme-sirasinda-kart-saklama/https:/pts-api.paynet.com.tr​​\[/v1/paynetj/save\\_card)]\(<https://api.paynet.com.tr/v1/paynetj/savecard>) |
| {% endtab %}     |                                                                                                                                                                                                                                                                 |
| {% endtabs %}    |                                                                                                                                                                                                                                                                 |


---

# 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/kart-saklama/1.oedeme-sirasinda-kart-saklama/untitled-1.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.
