# Plan Tutar Güncelleme

Düzenli ödemenize ait oluşan planlarınızdan tutarını değiştirmek istediğiniz plan için bu servis kullanılır.

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

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

| Parametre ismi       | Tip    | Zorunlu | Açıklama                                                                                                |
| -------------------- | ------ | ------- | ------------------------------------------------------------------------------------------------------- |
| **subscription\_id** | string | Evet\*  | Düzenli ödeme ID'si                                                                                     |
| **reference\_no**    | string | Evet\*  | Düzenli ödeme referans numarası                                                                         |
| **plan\_id**         | string | Evet    | Düzenli ödemede oluşan plan ID'si                                                                       |
| **amount**           | string | Evet    | Düzenli ödeme tutarı.Tutar 100 ile çarpılmış olmalıdır. “10 TL” => “1000” olarak gönderilmeli.          |
| **agent\_amount**    | string | Hayır   | Bayiye aktarılacak tutar.Tutar 100 ile çarpılmış olmalıdır. “10 TL” => “1000” olarak gönderilmeli.      |
| **company\_amount**  | string | Hayır   | Ana firmaya aktarılacak tutar.Tutar 100 ile çarpılmış olmalıdır. “10 TL” => “1000” olarak gönderilmeli. |
| {% endtab %}         |        |         |                                                                                                         |

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

| Parametre ismi  | Tip | Açıklama |
| --------------- | --- | -------- |
| **Result Info** |     |          |

{% endtab %}

{% tab title="Request" %}

```
{
"reference_no": "referenceno",
"amount":15000,
"plan_id":18092,
"agent_amount":10000,
"company_amount":5000
}
```

{% endtab %}

{% tab title="Response" %}

```
{
    "object_name": "subscription_plan_amount_update",
    "code": 0,
    "message": "Tutar güncellendi"
}
```

{% endtab %}

{% tab title="Service Url" %}

| Sistem           | URL                                                                    |
| ---------------- | ---------------------------------------------------------------------- |
| **Canlı Sistem** | <https://api.paynet.com.tr/v1/subscription/plan\\_amount\\_update>     |
| **Test Sistemi** | <https://pts-api.paynet.com.tr/v1/subscription/plan\\_amount\\_update> |

{% endtab %}
{% endtabs %}

{% hint style="info" %}
\***subscription\_id** ve **reference\_no** parametrelerinden en az biri gönderilmek zorundadır.
{% endhint %}


---

# 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/plan-tutar-guencelleme.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.
