API Explorer
You are viewing an old version of the API

Create customer

Creates a new customer for a business, which can have associated cards on file.

Open in API Reference

Sign In

Body

Address
string
string
string
string
string
string
string
string
string
string
Request
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
curl https://connect.squareupsandbox.com/v2/customers \
  -X POST \
  -H 'Square-Version: 2021-05-13' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'
Response
// No response received yet.