> 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/1.2.bin-kontrol-servisi-check_bin.md).

# 1.2.BIN Kontrol Servisi

Bu servis girilen BIN numarasına göre sistemde tanımlı banka bilgilerini ve oran bilgilerini döner. Buradan kullanıcının seçeceği taksit seçeneğine ait **“instalment\_key”** değerini bir sonraki adım olan **create\_token** servisinde kullanmalısınız.

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

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

| Parametre İsmi  | Tip    | Zorunlu | Açıklama                                                                              |
| --------------- | ------ | ------- | ------------------------------------------------------------------------------------- |
| **session\_id** | string | Evet    | Auth servisiyle ilgili alınan session bilgisi.                                        |
| **bin**         | string | Evet    | Girilen kredi kartı bilgisinin ilk 8 karakteri. 8 karakter sonrası gönderilmemelidir. |
| {% endtab %}    |        |         |                                                                                       |

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

| Parametre İsmi            | Tip    | Açıklama                                                  |
| ------------------------- | ------ | --------------------------------------------------------- |
| **bank\_id**              | string | Bankanın paynet sistemindeki kodu.                        |
| **bank\_logo**            | string | Bankanın logosunun alınacağı url.                         |
| **bank\_name**            | string | Bankanın adı                                              |
| **card\_type**            | string | Kart türü: cc :Bireysel, bc:Ticari, dc:Debit              |
| **tds\_enable**           | bool   | Seçilen banka ile 3D’li işlem yapılabilir mi yi belirtir. |
| **data**                  | dizi   | Oran tablosu dizisi.                                      |
| **-> instalment\_key**    | string | Oran anahtarı, bu anahtar daha sonra kullanılacak         |
| **-> instalment**         | string | Taksit sayısı                                             |
| **-> instalment\_amount** | string | Taksit tutarı                                             |
| **-> total\_amount**      | string | Kredi kartından çekilecek tutar                           |
| **-> commision**          | string | Komisyon tutarı                                           |
| **-> desc**               | string | Ödeme planı, arayüzde gösterilecek değer                  |
| **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",
  bin: "43550843"
}

```

{% endtab %}

{% tab title="Response" %}

```
{
  "bank_id": "AXSS",
  "bank_logo": "http://localhost:64102/img/banklogo/small/AXSS.png",
  "bank_name": "Axess",
  "card_type": "cc",
  "tds_enable": true,
  "data": [
    {
      "instalment_key": "ji_EAAAAGINo4rz8dJGeBoy+ItEftZ4QS0qS5xn44NfXj30wd/ZRwL7ZQs9OAKZy5xGY5EaaA==",
      "instalment": 101,
      "instalment_amount": 0.10,
      "total_amount": 10.30,
      "commision": 0.26,
      "desc": "101 Taksit 101 x 0,10 = 10,30 TL"
    },
    {
      "instalment_key": "ji_EAAAAPTScfWKuCRfoG7q82ibmozBZHJN8LYZseR0djrTRSsu",
      "instalment": 0,
      "instalment_amount": 10.24,
      "total_amount": 10.24,
      "commision": 0.20,
      "desc": "0 Taksit 0 x 10,24 = 10,24 TL"
    },
    {
      "instalment_key": "ji_EAAAAN4Aw1tKUlglnCrBgQr+m0maUBwR0ScCTbFXTJeEqGif",
      "instalment": 3,
      "instalment_amount": 3.46,
      "total_amount": 10.37,
      "commision": 0.31,
      "desc": "3 Taksit 3 x 3,46 = 10,37 TL"
    },
    {
      "instalment_key": "ji_EAAAAOT0wNkTexwQ9hDXhP6QIAdWja3VkAQalefn2jW3Ouyj",
      "instalment": 6,
      "instalment_amount": 1.73,
      "total_amount": 10.37,
      "commision": 0.31,
      "desc": "6 Taksit 6 x 1,73 = 10,37 TL"
    }
  ],
  "obeject_name": "paynetj_bin",
  "code": 0,
  "message": "Başarılı Islem"
}
```

{% endtab %}

{% tab title="Service Url" %}

| Sistem           | URL                                                                                                                                                                                                                                                              |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Canlı Sistem** | [https://api.paynet.com.tr\[/v1/paynetj/check\\\_bin](https://doc.paynet.com.tr/uornek/servisler/kart-saklama/1.oedeme-sirasinda-kart-saklama/https:/api.paynet.com.tr\[/v1/paynetj/check\\_bin)]\(<https://api.paynet.com.tr/v1/paynetj/check_bin>)             |
| **Test Sistemi** | [https://pts-api.paynet.com.tr​​\[/v1/paynetj/check\\\_bin](https://doc.paynet.com.tr/uornek/servisler/kart-saklama/1.oedeme-sirasinda-kart-saklama/https:/pts-api.paynet.com.tr​​\[/v1/paynetj/check\\_bin)]\(<https://api.paynet.com.tr/v1/paynetj/check_bin>) |
| {% 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/1.2.bin-kontrol-servisi-check_bin.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.
