# Extend Expiry Date

{% tabs %}
{% tab title="Production" %}
[https://payout.payumoney.com/payout/v2/smartSend/expiry/{smartSendId}](https://payout.payumoney.com/payout/v2/smartSend/expiry/%7BsmartSendId%7D)
{% endtab %}

{% tab title="Testing" %}
<https://test.payumoney.com/payout/v2/smartSend/expiry/{smartSendId}>
{% endtab %}
{% endtabs %}

## Request Headers

| Key           | **Description**                                   | Data Type | Mandatory | Possible Value         |
| ------------- | ------------------------------------------------- | --------- | --------- | ---------------------- |
| Authorization | Access token generated earlier.                   | String    | Yes       | Bearer {access\_token} |
| pid           | This is the merchant id provided while onboarding | String    | Yes       |                        |

{% hint style="warning" %}
**pid is the payoutMerchantId and is different from payumoney merchant id, please check payouts dashboard or call customer support if you don’t know your payoutsMerchantID**
{% endhint %}

## **Request Params**

| Key        | Description                               | Data Type | Mandatory | Possible Value           |
| ---------- | ----------------------------------------- | --------- | --------- | ------------------------ |
| expiryDate | Date to which the link is to be extended. | Date      | Yes       | 2021-07-24T18:18:10.000Z |

```
curl --location --request PUT 'https://oneapi.payu.in/payout/v2/smartSend/expiry/123' \
--header 'mid: 8000051' \
--header 'authorization: Bearer b6c0782b9eb08b43681776bad60ca1894a8421539e7c96c9aa32c0805994046d' \
--header 'pid: 1111312' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'expiryDate=2021-07-24T18:18:10.000Z'
```

{% hint style="warning" %}
Note: The API accepts the following date pattern:&#x20;

```
yyyy-MM-dd'T'HH:mm:ss.000Z
```

{% endhint %}
