Delete a payment link
curl -X DELETE "https://test-api.kashier.io/v2/payment-link/string"{ "message": "string"}Deletes a payment link. The link is soft-deleted (isDeleted becomes true) and stops being payable.
Authorization
secretKey Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).
In: header
Path Parameters
The payment link identifier. Example: PL-2348668602
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Get payment link details GET
Retrieves a single payment link, including its extra fees, invoice items, and the full audit history of the link (creation, edits, shares, and payments).
Update a payment link PUT
Updates an existing payment link. The editable fields are wrapped in a paymentLink object; send the full object you want the link to end up with.