Extend Expiry Date

This API is used to extend the expiry date of a valid link. A valid link is one that isn't expired or a link for which transaction is in a pending state.

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

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

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'

Note: The API accepts the following date pattern:

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

Last updated