Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

    Checkout

  • Retrieve location settings

  • Update location settings

  • Retrieve merchant settings

  • Update merchant settings

  • List payment links

  • Create payment link

  • Delete payment link

  • Retrieve payment link

  • Update payment link

  • Webhooks

  • online_checkout.location_settings.updated

  • online_checkout.merchant_settings.updated

<- Checkout API

Checkout API

All versions ->

List payment links

GET

 /v2/online-checkout/payment-links

Lists all payment links.

Permissions:ORDERS_READ

Guide

Manage Checkout

Try in API Explorer
Link to section

Query parameters

Example code

Link to section

cursor

string

A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for the original query. If a cursor is not provided, the endpoint returns the first page of the results. For more information, see Pagination.

Link to section

limit

integer(32-bit)

A limit on the number of results to return per page. The limit is advisory and the implementation might return more or less results. If the supplied limit is negative, zero, or greater than the maximum limit of 1000, it is ignored.

Default value: 100

Link to section

Response fields

Link to section

errors

Errors that occurred during the request.

Link to section

payment_links

The list of payment links.

Link to section

cursor

string

When a response is truncated, it includes a cursor that you can use in a subsequent request to retrieve the next set of gift cards. If a cursor is not present, this is the final response. For more information, see Pagination.

Link to section

Examples

All versions ->

GET /v2/online-checkout/payment-links
curl https://connect.squareup.com/v2/online-checkout/payment-links \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json'

Response JSON

{ "payment_links": [ { "id": "TN4BWEDJ9AI5MBIV", "version": 2, "order_id": "Qqc6yppGvxVwc46Cch4zHTaJqc4F", "checkout_options": { "ask_for_shipping_address": true }, "url": "https://square.link/u/EXAMPLE", "created_at": "2022-04-26T00:15:15Z", "updated_at": "2022-04-26T00:18:24Z", "payment_note": "test" }, { "id": "RY5UNCUMPJN5XKCT", "version": 1, "description": "", "order_id": "EmBmGt3zJD15QeO1dxzBTxMxtwfZY", "url": "https://square.link/u/EXAMPLE", "created_at": "2022-04-11T23:14:59Z" } ], "cursor": "MTY1NQ==" }