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
  • Home

  • Dev Essentials

  • Payments

    • Payments

    • Refunds

    • Checkout

    • Terminal

    • Disputes

    • Invoices

    • Cards

    • Subscriptions

    • Bank Accounts

    • Payouts

    • Devices

    • Apple Pay

  • Commerce

  • Customers

  • Staff

  • Merchants

  • Objects & Enums

  • Webhook Events

  • Deprecated

  • SDKs

<- Square API

Square API

All versions ->

Checkout

Accept payments through a pre-built, Square-hosted checkout page. No frontend required.

With the Square Checkout API, your customers can pay for a purchase through a simple, Square-hosted checkout page. It can be integrated into any payments workflow with minimal coding.

You can create and configure your checkout page through a CreatePaymentLink request, specifying the accepted payment methods and checkout options like tipping and custom fields. You can also configure a URL for customers to be redirected to once they complete their purchase.

First time Square developers should utilize the payment link endpoints to create, update, retrieve, and list checkout pages.

For more information, see the following guide:

  • Checkout
  • Endpoints

  • Webhooks

All versions ->

Retrieve location settings

GET/v2/online-checkout/location-settings/{location_id}

Retrieves the location-level settings for a Square-hosted checkout page.

Beta

Update location settings

PUT/v2/online-checkout/location-settings/{location_id}

Updates the location-level settings for a Square-hosted checkout page.

Beta

Retrieve merchant settings

GET/v2/online-checkout/merchant-settings

Retrieves the merchant-level settings for a Square-hosted checkout page.

Beta

Update merchant settings

PUT/v2/online-checkout/merchant-settings

Updates the merchant-level settings for a Square-hosted checkout page.

Beta

List payment links

GET/v2/online-checkout/payment-links

Lists all payment links.

Create payment link

POST/v2/online-checkout/payment-links

Creates a Square-hosted checkout page.

Delete payment link

DELETE/v2/online-checkout/payment-links/{id}

Deletes a payment link.

Retrieve payment link

GET/v2/online-checkout/payment-links/{id}

Retrieves a payment link.

Update payment link

PUT/v2/online-checkout/payment-links/{id}

Updates a payment link.