Checkout
ListPaymentLinks
Lists all payment links.
get/v2/online-checkout/payment-links
Query parameters
cursorstring
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.
limitinteger
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
Response
Success
Example response
{
"cursor": "MTY1NQ==",
"payment_links": [
{
"checkout_options": {
"ask_for_shipping_address": true
},
"created_at": "2022-04-26T00:15:15Z",
"id": "TN4BWEDJ9AI5MBIV",
"order_id": "Qqc6yppGvxVwc46Cch4zHTaJqc4F",
"payment_note": "test",
"updated_at": "2022-04-26T00:18:24Z",
"url": "https://square.link/u/EXAMPLE",
"version": 2
},
{
"created_at": "2022-04-11T23:14:59Z",
"description": "",
"id": "RY5UNCUMPJN5XKCT",
"order_id": "EmBmGt3zJD15QeO1dxzBTxMxtwfZY",
"url": "https://square.link/u/EXAMPLE",
"version": 1
}
]
}