Update Pay Out payment link
Partially updates a Pay Out payment link’s content, expiration date, and/or status. Use this to modify the payment page configuration, extend or change the expiration, or cancel a link. Updating the expiration date of an expired link reactivates it to Active status.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
OR
requestTokenstring
Long-lived API token sent in the requestToken header. See API token authentication.
Path parameters
paylinkId
ID for the payment link.
Request
This endpoint expects an object.
billPageData
Updated payment link page configuration.
expirationDate
New expiration date for the payment link. Must be a future date. If null and the link is expired, uses the default expiration from settings. Updating the expiration date reactivates an expired payment link to Active status.
status
Updated status for the payment link.
Response
Success
isSuccess
Boolean indicating whether the operation was successful. A true value
indicates success. A false value indicates failure.
responseText
Response text for operation: ‘Success’ or ‘Declined’.
responseData
If isSuccess = true, this contains the payment link identifier. If isSuccess = false, this contains the reason of the error.
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error