v1

latestOpenAPI 3.0.0Apache 2.02026-07-143281,4552.1 MB
Checkout

RetrievePaymentLink

Retrieves a payment link.

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

Path parameters

idstring required

The ID of link to retrieve.

Response

Success

Example response

{
  "payment_link": {
    "created_at": "2022-04-26T00:10:29Z",
    "id": "LLO5Q3FRCFICDB4B",
    "long_url": "https://checkout.square.site/EXAMPLE",
    "order_id": "4uKASDATqSd1QQ9jV86sPhMdVEbSJc4F",
    "url": "https://square.link/u/EXAMPLE",
    "version": 1
  }
}