Creates a Square-hosted checkout page.
POST
/v2/online-checkout/payment-links
Creates a Square-hosted checkout page.
Applications can share the resulting payment link with their buyer to pay for goods and services.
A unique string that identifies this CreatePaymentLinkRequest
request. If you do not provide a unique string (or provide an empty string as the value), the endpoint treats each request as independent.
For more information, see Idempotency.
A description of the payment link. You provide this optional description that is useful in your application context. It is not used anywhere.
Describes an ad hoc item and price for which to generate a quick pay checkout link. For more information, see Quick Pay Checkout.
Describes the Order
for which to create a checkout link. For more information, see Square Order Checkout.
Describes optional fields to add to the resulting checkout page. For more information, see Optional Checkout Configurations.
Describes fields to prepopulate in the resulting checkout page. For more information, see Prepopulate the shipping address.