> 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/servisler/abonelik/plan-tutar-guencelleme.md).

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