Block · Schema

Customer

Represents a customer profile in a Square seller account.

CommerceCryptocurrencyeCommerceFintechPaymentsPoint Of SaleSquare

Properties

Name Type Description
id string Unique ID for this customer.
given_name string Customer's first name.
family_name string Customer's last name.
email_address string Customer's email address.
phone_number string Customer's phone number.
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

block-customer-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/block/main/json-schema/block-customer-schema.json",
  "title": "Customer",
  "description": "Represents a customer profile in a Square seller account.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique ID for this customer.",
      "example": "JDKYHBWT1D4F8MFH63DBMEN8Y4"
    },
    "given_name": {
      "type": "string",
      "description": "Customer's first name.",
      "example": "Amelia"
    },
    "family_name": {
      "type": "string",
      "description": "Customer's last name.",
      "example": "Earhart"
    },
    "email_address": {
      "type": "string",
      "format": "email",
      "description": "Customer's email address.",
      "example": "Amelia.Earhart@example.com"
    },
    "phone_number": {
      "type": "string",
      "description": "Customer's phone number.",
      "example": "+11234567890"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "example": "2016-03-23T20:21:54.859Z"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "example": "2016-03-23T20:21:55Z"
    }
  }
}