Checkout
List payment links
Create payment link
Delete payment link
Retrieve payment link
Update payment link
<- Checkout API
Checkout API
Version
2023-05-17
DELETE
/v2/online-checkout/payment-links/{id}
Deletes a payment link.
Guide
Manage Checkout
Example code
id
string
Required
The ID of the payment link to delete.
errors
Error [ ]
The ID of the link that is deleted.
cancelled_order_id
The ID of the order that is canceled. When a payment link is deleted, Square updates the the state (of the order that the checkout link created) to CANCELED.
state