# Düzenli Ödeme Emri Tekrar Gönder

Düzenli ödeme emri oluştururken “send\_mail” ve “send\_sms“ parametreleri true gönderildiğinde, eğer müşteriye sms ve mail ulaşmadıysa, müşteriye sms ve mail’i tekrar göndermek için kullanılır.

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

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

| Parametre İsmi       | Tür    | Zorunlu | Açıklama          |
| -------------------- | ------ | ------- | ----------------- |
| **subscription\_id** | string | Evet\*  | Düzenli ödeme ID  |
| **reference\_no**    | string | Evet\*  | Referans numarası |
| {% endtab %}         |        |         |                   |

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

| Parametre İsmi   | Tip    | Açıklama                        |
| ---------------- | ------ | ------------------------------- |
| **object\_name** | string | Dönüş yapılan API'nin nesne adı |
| **code**         | string | Dönüş sonucunun kodu            |
| **message**      | string | Dönüş sonuç kodunun açıklaması  |
| {% endtab %}     |        |                                 |

{% tab title="Request" %}

```
 {
    "subscription_id": 68bdfa37-65cd-4481-b14a-90aa731ccf3b"
 }
```

{% endtab %}

{% tab title="Response" %}

```
{
"object_name":"subscription_send_again",
"code":0,
"message":"Başarılı Islem"
} 
```

{% endtab %}

{% tab title="Service Url" %}

| Sistem           | URL                                                                                                                                                   |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Canlı Sistem** | <https://api.paynet.com.tr/v1/subscription/send_again>                                                                                                |
| **Test Sistemi** | [https://pts-api.paynet.com.tr​​​](https://pts-api.paynet.com.tr)[/v1/subscription/send\_again](https://api.paynet.com.tr/v1/subscription/send_again) |
| {% endtab %}     |                                                                                                                                                       |
| {% endtabs %}    |                                                                                                                                                       |

{% hint style="info" %}
&#x20;\*subcription\_id veya reference\_no'dan en az birini göndermeniz gerekmektedir.
{% endhint %}
