Delete a payment
delete_paymentDelete an unpaid payment to disable its payment link; paid payments cannot be deleted. Confirm first because this cannot be undone.
Instructions
Delete a payment that is not paid, so its link can no longer be paid. A paid (SUCCEEDED) payment cannot be deleted. This cannot be undone: confirm with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The payment id, as create_payment_link or list_payments returned it. |