<- Checkout API

Checkout API

Delete payment link

DELETE

 /v2/online-checkout/payment-links/{id}

Deletes a payment link.

Permissions:ORDERS_READ, ORDERS_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

id

string

Required

The ID of the payment link to delete.

Link to section

Response fields

Link to section

errors

Link to section

id

string

The ID of the link that is deleted.

Link to section

cancelled_order_id

string

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.