> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.stripe.core.CreateCustomer

- Component: `appmixer.stripe.core.CreateCustomer`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.stripe 3.1.0](https://connectors.appmixer.com/connector/appmixer.stripe/3.1.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.stripe/3.1.0/component/appmixer.stripe.core.CreateCustomer>

Creates a new customer object to store and manage customer information.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Email (`email`) | text | Customer's email address. |
| Description (`description`) | text | An arbitrary string that you can attach to a customer for additional information. |
| Payment Method Id (`paymentMethod`) | text | A payment method ID to attach to the customer. |
| Name (`name`) | text | The customer’s full name or business name. |
| Address City (`addressCity`) | text | City for the customer's address. |
| Address Country (`addressCountry`) | text | Country for the customer's address. |
| Address Line 1 (`addressLine1`) | text | First line of the customer's address. |
| Address Line 2 (`addressLine2`) | text | Second line of the customer's address. |
| Address Postal Code (`addressPostalCode`) | text | Postal code for the customer's address. |
| Address State (`addressState`) | text | State or province for the customer's address. |
| Phone (`phone`) | text | The customer’s phone number. |
| Shipping Address City (`shippingAddressCity`) | text | City for the shipping address. |
| Shipping Address Country (`shippingAddressCountry`) | text | Country for the shipping address. |
| Shipping Address Line 1 (`shippingAddressLine1`) | text | First line of the shipping address. |
| Shipping Address Line 2 (`shippingAddressLine2`) | text | Second line of the shipping address. |
| Shipping Address Postal Code (`shippingAddressPostalCode`) | text | Postal code for the shipping address. |
| Shipping Address State (`shippingAddressState`) | text | State or province for the shipping address. |
| Shipping Name (`shippingName`) | text | Name for the shipping address. |
| Shipping Phone (`shippingPhone`) | text | Phone number for the shipping address. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Customer ID (`id`) | string | - |
| Object Type (`object`) | string | - |
| Email (`email`) | string | - |
| Name (`name`) | string | - |
| Phone (`phone`) | string | - |
| Description (`description`) | string | - |
| Balance (`balance`) | number | - |
| Created (Unix Timestamp) (`created`) | number | - |
| Currency (`currency`) | string | - |
| Invoice Prefix (`invoice_prefix`) | string | - |
| Live Mode (`livemode`) | boolean | - |
| Tax Exempt (`tax_exempt`) | string | - |
| Address City (`address.city`) | string | - |
| Address Country (`address.country`) | string | - |
| Address Line 1 (`address.line1`) | string | - |
| Address Line 2 (`address.line2`) | string | - |
| Address Postal Code (`address.postal_code`) | string | - |
| Address State (`address.state`) | string | - |
| Shipping Name (`shipping.name`) | string | - |
| Shipping Phone (`shipping.phone`) | string | - |
| Shipping Address City (`shipping.address.city`) | string | - |
| Shipping Address Country (`shipping.address.country`) | string | - |
| Shipping Address Line 1 (`shipping.address.line1`) | string | - |
| Shipping Address Line 2 (`shipping.address.line2`) | string | - |
| Shipping Address Postal Code (`shipping.address.postal_code`) | string | - |
| Shipping Address State (`shipping.address.state`) | string | - |
| Discount (`discount`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.stripe.core.CreateCustomer",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Creates a new customer object to store and manage customer information.",
  "version": "1.0.0",
  "private": false,
  "auth": {
    "service": "appmixer:stripe"
  },
  "quota": {
    "manager": "appmixer:stripe",
    "resources": "requests"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "paymentMethod": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "addressCity": {
            "type": "string"
          },
          "addressCountry": {
            "type": "string"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "addressPostalCode": {
            "type": "string"
          },
          "addressState": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "shippingAddressCity": {
            "type": "string"
          },
          "shippingAddressCountry": {
            "type": "string"
          },
          "shippingAddressLine1": {
            "type": "string"
          },
          "shippingAddressLine2": {
            "type": "string"
          },
          "shippingAddressPostalCode": {
            "type": "string"
          },
          "shippingAddressState": {
            "type": "string"
          },
          "shippingName": {
            "type": "string"
          },
          "shippingPhone": {
            "type": "string"
          }
        },
        "required": [
          "email"
        ]
      },
      "inspector": {
        "inputs": {
          "email": {
            "type": "text",
            "tooltip": "Customer's email address.",
            "label": "Email",
            "index": 0
          },
          "description": {
            "type": "text",
            "tooltip": "An arbitrary string that you can attach to a customer for additional information.",
            "label": "Description",
            "index": 1
          },
          "paymentMethod": {
            "type": "text",
            "tooltip": "A payment method ID to attach to the customer.",
            "label": "Payment Method Id",
            "index": 2
          },
          "name": {
            "type": "text",
            "tooltip": "The customer’s full name or business name.",
            "label": "Name",
            "index": 3
          },
          "addressCity": {
            "type": "text",
            "tooltip": "City for the customer's address.",
            "label": "Address City",
            "index": 4
          },
          "addressCountry": {
            "type": "text",
            "tooltip": "Country for the customer's address.",
            "label": "Address Country",
            "index": 5
          },
          "addressLine1": {
            "type": "text",
            "tooltip": "First line of the customer's address.",
            "label": "Address Line 1",
            "index": 6
          },
          "addressLine2": {
            "type": "text",
            "tooltip": "Second line of the customer's address.",
            "label": "Address Line 2",
            "index": 7
          },
          "addressPostalCode": {
            "type": "text",
            "tooltip": "Postal code for the customer's address.",
            "label": "Address Postal Code",
            "index": 8
          },
          "addressState": {
            "type": "text",
            "tooltip": "State or province for the customer's address.",
            "label": "Address State",
            "index": 9
          },
          "phone": {
            "type": "text",
            "tooltip": "The customer’s phone number.",
            "label": "Phone",
            "index": 11
          },
          "shippingAddressCity": {
            "type": "text",
            "tooltip": "City for the shipping address.",
            "label": "Shipping Address City",
            "index": 12
          },
          "shippingAddressCountry": {
            "type": "text",
            "tooltip": "Country for the shipping address.",
            "label": "Shipping Address Country",
            "index": 13
          },
          "shippingAddressLine1": {
            "type": "text",
            "tooltip": "First line of the shipping address.",
            "label": "Shipping Address Line 1",
            "index": 14
          },
          "shippingAddressLine2": {
            "type": "text",
            "tooltip": "Second line of the shipping address.",
            "label": "Shipping Address Line 2",
            "index": 15
          },
          "shippingAddressPostalCode": {
            "type": "text",
            "tooltip": "Postal code for the shipping address.",
            "label": "Shipping Address Postal Code",
            "index": 16
          },
          "shippingAddressState": {
            "type": "text",
            "tooltip": "State or province for the shipping address.",
            "label": "Shipping Address State",
            "index": 17
          },
          "shippingName": {
            "type": "text",
            "tooltip": "Name for the shipping address.",
            "label": "Shipping Name",
            "index": 18
          },
          "shippingPhone": {
            "type": "text",
            "tooltip": "Phone number for the shipping address.",
            "label": "Shipping Phone",
            "index": 19
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Customer ID",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "cus_NEW123ABC456"
          }
        },
        {
          "label": "Object Type",
          "value": "object",
          "schema": {
            "type": "string",
            "example": "customer"
          }
        },
        {
          "label": "Email",
          "value": "email",
          "schema": {
            "type": "string",
            "example": "john.smith@example.com"
          }
        },
        {
          "label": "Name",
          "value": "name",
          "schema": {
            "type": "string",
            "example": "John Smith"
          }
        },
        {
          "label": "Phone",
          "value": "phone",
          "schema": {
            "type": "string",
            "example": "+1234567890"
          }
        },
        {
          "label": "Description",
          "value": "description",
          "schema": {
            "type": "string",
            "example": "Enterprise customer"
          }
        },
        {
          "label": "Balance",
          "value": "balance",
          "schema": {
            "type": "number",
            "example": 0
          }
        },
        {
          "label": "Created (Unix Timestamp)",
          "value": "created",
          "schema": {
            "type": "number",
            "example": 1737024600
          }
        },
        {
          "label": "Currency",
          "value": "currency",
          "schema": {
            "type": "string",
            "example": "usd"
          }
        },
        {
          "label": "Invoice Prefix",
          "value": "invoice_prefix",
          "schema": {
            "type": "string",
            "example": "0759376C"
          }
        },
        {
          "label": "Live Mode",
          "value": "livemode",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Tax Exempt",
          "value": "tax_exempt",
          "schema": {
            "type": "string",
            "example": "none"
          }
        },
        {
          "label": "Address City",
          "value": "address.city",
          "schema": {
            "type": "string",
            "example": "San Francisco"
          }
        },
        {
          "label": "Address Country",
          "value": "address.country",
          "schema": {
            "type": "string",
            "example": "US"
          }
        },
        {
          "label": "Address Line 1",
          "value": "address.line1",
          "schema": {
            "type": "string",
            "example": "510 Townsend St"
          }
        },
        {
          "label": "Address Line 2",
          "value": "address.line2",
          "schema": {
            "type": "string",
            "example": "Suite 200"
          }
        },
        {
          "label": "Address Postal Code",
          "value": "address.postal_code",
          "schema": {
            "type": "string",
            "example": "94103"
          }
        },
        {
          "label": "Address State",
          "value": "address.state",
          "schema": {
            "type": "string",
            "example": "CA"
          }
        },
        {
          "label": "Shipping Name",
          "value": "shipping.name",
          "schema": {
            "type": "string",
            "example": "John Smith"
          }
        },
        {
          "label": "Shipping Phone",
          "value": "shipping.phone",
          "schema": {
            "type": "string",
            "example": "+14155550123"
          }
        },
        {
          "label": "Shipping Address City",
          "value": "shipping.address.city",
          "schema": {
            "type": "string",
            "example": "San Francisco"
          }
        },
        {
          "label": "Shipping Address Country",
          "value": "shipping.address.country",
          "schema": {
            "type": "string",
            "example": "US"
          }
        },
        {
          "label": "Shipping Address Line 1",
          "value": "shipping.address.line1",
          "schema": {
            "type": "string",
            "example": "510 Townsend St"
          }
        },
        {
          "label": "Shipping Address Line 2",
          "value": "shipping.address.line2",
          "schema": {
            "type": "string",
            "example": "Suite 200"
          }
        },
        {
          "label": "Shipping Address Postal Code",
          "value": "shipping.address.postal_code",
          "schema": {
            "type": "string",
            "example": "94103"
          }
        },
        {
          "label": "Shipping Address State",
          "value": "shipping.address.state",
          "schema": {
            "type": "string",
            "example": "CA"
          }
        },
        {
          "label": "Discount",
          "value": "discount",
          "schema": {
            "type": "string",
            "example": null
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
