Home / Servers / Square API / create_customer
CreateCustomer
An MCP tool from the Square API server, hosted on mcp.hjlabs.in.
CreateCustomer Creates a new customer for a business. You must provide at least one of the following values in your request to this endpoint: - given_name - family_name - company_name - email_address - phone_number [POST /v2/customers]
Name on the gateway: square_api__create_customer · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
idempotency_key | string | The idempotency key for the request. For more information, see Idempotency. |
given_name | string | The given name (that is, the first name) associated with the customer profile.… |
family_name | string | The family name (that is, the last name) associated with the customer profile.… |
company_name | string | A business name associated with the customer profile. The maximum length for… |
nickname | string | A nickname for the customer profile. The maximum length for this value is 100… |
email_address | string | The email address associated with the customer profile. The maximum length for… |
address | object | The physical address associated with the customer profile. For maximum length… |
phone_number | string | The phone number associated with the customer profile. The phone number must… |
reference_id | string | An optional second ID used to associate the customer profile with an entity in… |
note | string | A custom note associated with the customer profile. |
birthday | string | The birthday associated with the customer profile, in YYYY-MM-DD or MM-DD… |
tax_ids | object | The tax ID associated with the customer profile. This field is available only… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "square_api__create_customer",
"arguments": {}
}Or connect the Square API server directly, which lists 308 tools including this one:
claude mcp add --transport http hj-square-api https://mcp.hjlabs.in/mcp/square-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the createcustomer tool with idempotency_key set to ….