# Oran Tipi Silme

Tanımladığınız oran tiplerini silmenizi sağlayan servistir.

{% hint style="success" %}
<https://api.paynet.com.tr/v1/ratio/delete\\_type>
{% endhint %}

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

| Parametre İsmi  | Tip    | Zorunlu | Açıklama                               |
| --------------- | ------ | ------- | -------------------------------------- |
| **ratio\_code** | string | Evet    | Silmek istediğiniz oran tipine ait kod |
| {% endtab %}    |        |         |                                        |

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

| Parametre İsmi   | Tip    | Açıklama                                                                                               |
| ---------------- | ------ | ------------------------------------------------------------------------------------------------------ |
| **object\_name** | string | Dönüş yapılan API’nin nesne adı "ratio\_delete\_type"                                                  |
| **code**         | string | Dönüş sonucunun kodu. [Bakınız](https://doc.paynet.com.tr/genel-bilgiler/hata-kodlari/doenues-kodlari) |
| **message**      | string | Dönüş sonuç kodunun açıklaması                                                                         |
| {% endtab %}     |        |                                                                                                        |

{% tab title="Request" %}

```
{  
   "ratio_code":"4E***YJI"
}
```

{% endtab %}

{% tab title="Response" %}

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

{% endtab %}

{% tab title="Service Url" %}

| Sistem        | URL                                                    |
| ------------- | ------------------------------------------------------ |
| Canlı Sistem  | <https://api.paynet.com.tr/v1/ratio/delete\\_type>     |
| Test Sistemi  | <https://pts-api.paynet.com.tr/v1/ratio/delete\\_type> |
| {% endtab %}  |                                                        |
| {% endtabs %} |                                                        |
