An invalid PayLink will no longer display the option for customers to submit payments when they view the order payment site. Instead, the site will display an error message that explains the link is canceled or expired.
You are able to directly control link invalidation in a couple ways:
- You can set an expiration date and time, which will automatically expire your PayLink after the date and time have passed.
- You can send an API call to Skipify to cancel a previously created PayLink.
Invalidating via the
When creating a PayLink, you can set a specific
datetime for when the link expires. After that
datetime, the link will become invalid and the status of the PayLink will be "Expired."
This endpoint uses HMAC
Check out our API Authentication section to learn more
The endpoint for this request uses the payment's
paylinkId, which was originally provided in the response body when you created the PayLink. To invalidate a PayLink, send an API call to:
|204||Successfully canceled a PayLink|
|400||Invalid cancel request|
|404||PayLink was not found|
Check out our API Reference to learn more
Updated about 2 months ago