Extend Expiry Date API

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 the transaction is in a pending state.

Environment

Sample request
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'
Sample response

Failure scenario

{
  "timestamp": "2024-01-30T09:07:37.189+0000",
  "status": 401,
  "error": "Unauthorized",
  "message": "Access is denied",
  "path": "/payout/v2/smartSend/expiry/123"
}

Request header and parameters

For the list of error messages and their description that you may encounter when Smart Send APIs integration, refer to Smart Send Error Codes.

📘

Note:

The pid is payoutMerchantId, however it is different from the PayU merchant id. Check the Payouts Dashboard or call the PayU Customer Support if you don’t know your payoutsMerchantID.

📘

Reference:

For sample request and response, refer to Sample Request and Response for Smart Send APIs.

Language
Authorization
Bearer
Click Try It! to start a request and see the response here!