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

All versions ->

Copy link to request setupRun requestRun
POST/v2/online-checkout/payment-links

Create payment link

Creates a Square-hosted checkout page. API Reference ->

Sign in
SandboxProduction

Access Tokens

Sign in to populate your access tokens from the developer dashboard Sign in

Link to section

Body

idempotency_key

string

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

Generate

checkout_options

description

string

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

order

payment_note

string

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

pre_populated_data

quick_pay

POST /v2/online-checkout/payment-links

Response

// No response received yet.