Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 833 Bytes

delete-payment-link-response.md

File metadata and controls

32 lines (24 loc) · 833 Bytes

Delete Payment Link Response

Structure

DeletePaymentLinkResponse

Fields

Name Type Tags Description
errors Error[] | undefined Optional -
id string | undefined Optional The ID of the link that is deleted.
cancelledOrderId string | undefined Optional 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.

Example (as JSON)

{
  "cancelled_order_id": "asx8LgZ6MRzD0fObfkJ6obBmSh4F",
  "id": "MQASNYL6QB6DFCJ3",
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}