Customer APIs

The Square Developer platform provides customer APIs to build applications that help sellers grow their businesses through strong customer relationships. Use the customer APIs to securely manage customer data, analyze buying behavior, and integrate engagement features to increase repeat business and attract new customers.

Link to section

Square products

Sellers can access and manage customer features from a variety of Square products.

A free CRM software built into all Square payment tools where sellers can store information about their customers, analyze how they interact with their business, and actively engage with them.

With access to customer data like purchase history or loyalty status, sellers can understand their customers better and make smarter business decisions.

Customer Directory
Link to section

Build with customer APIs

Use the following APIs to integrate customer management and engagement features in your application.

Customers API

Customers API

Manage customer profiles and group membership, search the directory, and sync records with CRM systems.

Customer Custom Attributes API

Customer Custom Attributes API

Define custom properties for customer profiles to unlock customization scenarios.

Customer Groups API

Customer Groups API

Create groups to enable scoped promotions at scale and actions based on group membership.

Customer Segments API

Customer Segments API

Get basic details about segments that filter customers by buying behavior and other traits.

Loyalty API

Loyalty API

Create accounts and promotions and let buyers earn points and redeem reward discounts.

Gift Cards API

Gift Cards API

Create and activate gift cards, reload card balances, and track gift card activities.

Link to section

Customer sample applications

Get up and running quickly with Square customer APIs and see the APIs in action.

Gift Cards API Sample

Shows how to sell and reload gift cards, link customers, view activity history, and generate barcodes.

Order-Ahead Sample

Lets buyers place online orders, choose delivery options, earn loyalty points, and pay for an order.

Bookings API Sample

Checks availability and books an appointment for a customer with a team member.

Link to section

Customer guides

Learn about commonly used features and tasks you can do with customer APIs.

Link to section

Extend customers with other API groups

Combine customer features with other Square APIs to build engagements across all areas of a seller's business and see buyer trends.

Payments × Customers

Payments × Customers

Link customers to payment flows, subscriptions, and invoices and take gift card payments with automatic redemption.

Payment APIs
Commerce × Customers

Commerce × Customers

Integrate with orders, a catalog, and bookings and use simplified flows for loyalty and gift cards.

Commerce APIs
Staff × Customers

Staff × Customers

Connect regular customers with favorite team members through payments and bookings.

Staff APIs