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

    Checkout

  • Retrieve location settings

  • Update location settings

  • Retrieve merchant settings

  • Update merchant settings

  • List payment links

  • Create payment link

  • Delete payment link

  • Retrieve payment link

  • Update payment link

  • Webhooks

  • online_checkout.location_settings.updated

  • online_checkout.merchant_settings.updated

<- Checkout API

Checkout API

All versions ->

Update location settingsBeta

PUT

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

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

Permissions:MERCHANT_PROFILE_READ, MERCHANT_PROFILE_WRITE

Guide

Checkout Settings

Try in API Explorer
Link to section

Path parameters

Example code

Link to section

location_id

string

Required

The ID of the location for which to retrieve settings.

Link to section

Request body

Link to section

location_settings

Required

Describe your updates using the location_settings object. Make sure it contains only the fields that have changed.

Link to section

Response fields

Link to section

errors

Any errors that occurred when updating the location settings.

Link to section

location_settings

The updated location settings.

Link to section

Examples

All versions ->

PUT /v2/online-checkout/location-settings/{location_id}
curl https://connect.squareup.com/v2/online-checkout/location-settings/LOCATION_ID_1 \ -X PUT \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json' \ -d '{}'

Response JSON

{ "location_settings": { "location_id": "LOCATION_ID_1", "updated_at": "2022-06-16T22:25:35Z", "customer_notes_enabled": false, "policies": [ { "uid": "POLICY_ID_1", "title": "Return Policy", "description": "This is my Return Policy" }, { "uid": "POLICY_ID_2", "title": "Return Policy", "description": "Items may be returned within 30 days of purchase." } ], "branding": { "header_type": "FRAMED_LOGO", "button_color": "#00b23b", "button_shape": "ROUNDED" }, "tipping": { "percentages": [ 15, 20, 25 ], "smart_tipping_enabled": true, "default_percent": 20, "default_whole_amount_money": { "amount": 100, "currency": "USD" }, "whole_amounts": [ { "amount": 1000, "currency": "USD" }, { "amount": 1500, "currency": "USD" }, { "amount": 2000, "currency": "USD" } ] } } }