Skip to main content
POST
/
pg
/
payment-links
/
{paymentLinkId}
/
extend_expiry
Extend Payment Link Expiry
curl --request POST \
  --url https://api-pacb-uat.eximpe.com/pg/payment-links/{paymentLinkId}/extend_expiry/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-Version: <api-key>' \
  --header 'X-Client-ID: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '
{
  "expiry_date": "2023-11-07T05:31:56Z"
}
'
{
  "success": true,
  "message": "<string>"
}

Overview

Extend the validity of an active payment link by setting a new expiry date. This is useful if a customer needs more time to complete a payment and you don’t want to generate a new link.

Path Parameters

  • paymentLinkId: The unique identifier of the payment link.

Request Body

  • expiry_date: The new expiry date in UTC (ISO 8601 format).

Authorizations

X-Client-ID
string
header
required

Client Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.

X-Client-Secret
string
header
required

Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.

X-API-Version
string
header
required

API Version - Specifies which version of the API to use (e.g., '1.X.X' or '2.X.X'). This header allows you to control which API version your integration uses. Default version information is available in the Developer Settings.

Path Parameters

Body

application/json
expiry_date
string<date-time>
required

New expiry date in UTC

Response

200 - application/json

Payment link expiry extended successfully

success
boolean
message
string