API reference and playgroundPayment links
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 Authorization<token>
Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.
In: header
Path Parameters
paymentLinkId*string
The payment link identifier. Example: PL-XXXXXXXXXX
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, line 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.