<- Object

Object

PaymentLink

Link to section

Properties

Link to section

id

string

Read only The Square-assigned ID of the payment link.

Link to section

version

integer(32-bit)

Required

The Square-assigned version number, which is incremented each time an update is committed to the payment link.

Link to section

description

string

The optional description of the payment_link object. It is primarily for use by your application and is not used anywhere.

Link to section

order_id

string

Read only The ID of the order associated with the payment link.

Link to section

checkout_options

Link to section

pre_populated_data

Describes buyer data to prepopulate on the checkout page.

Link to section

url

string

Read only The shortened URL of the payment link.

Link to section

long_url

string

Read only The long URL of the payment link.

Link to section

created_at

string

The timestamp when the payment link was created, in RFC 3339 format.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00

Link to section

updated_at

string

The timestamp when the payment link was last updated, in RFC 3339 format.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00

Link to section

payment_note

string

An optional note. After Square processes the payment, this note is added to the resulting Payment.