Links

Invalidate a specific Link

Changed on

Cancel an unpaid payment link. Once invalidated, customers cannot make payments using this link.

post/api/v1/links/{referenceId}/invalidate

Request

  • Base URL
    https://api.thewayl.com
  • URL
    https://api.thewayl.com/api/v1/links/{referenceId}/invalidate
  • Auth
    API key in header X-WAYL-AUTHENTICATION

Path parameters

referenceIdstring required

Your reference ID of the link to invalidate

Response

Link invalidated successfully

messagestring

Example response

{
  "data": {
    "linkExpiresIn": "1h"
  }
}

Changes