# Stripe: Customer Overview

## Description

* Each record represents a customer, enriched with metrics about their associated transactions.

## Supported Data Sources

* <img src="https://fivetran.com/integrations/stripe/resources/stripe.svg" alt="" data-size="line"> Stripe

## Columns

| Type     | Name                                    | Description                                                                                                                                                                                                                                                                                                    |
| -------- | --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| STRING   | customer\_id                            | Unique identifier for each record from the Stripe customer object.                                                                                                                                                                                                                                             |
| STRING   | customer\_description                   | An arbitrary string attached to the object. Often useful for displaying to users.                                                                                                                                                                                                                              |
| DATETIME | customer\_created\_at                   | Timestamp of when the customer entry was created.                                                                                                                                                                                                                                                              |
| STRING   | customer\_currency                      | Currency used by the customer.                                                                                                                                                                                                                                                                                 |
| INTEGER  | account\_balance                        |                                                                                                                                                                                                                                                                                                                |
| STRING   | customer\_address\_city                 |                                                                                                                                                                                                                                                                                                                |
| STRING   | customer\_address\_country              |                                                                                                                                                                                                                                                                                                                |
| STRING   | customer\_address\_line\_1              |                                                                                                                                                                                                                                                                                                                |
| STRING   | customer\_address\_line\_2              |                                                                                                                                                                                                                                                                                                                |
| STRING   | customer\_address\_postal\_code         |                                                                                                                                                                                                                                                                                                                |
| STRING   | customer\_address\_state                |                                                                                                                                                                                                                                                                                                                |
| INTEGER  | customer\_balance                       |                                                                                                                                                                                                                                                                                                                |
| STRING   | bank\_account\_id                       |                                                                                                                                                                                                                                                                                                                |
| STRING   | default\_card\_id                       | ID of the default card used by the customer.                                                                                                                                                                                                                                                                   |
| BOOLEAN  | is\_delinquent                          | When the customer’s latest invoice is billed by charging automatically, delinquent is true if the invoice’s latest charge is failed. When the customer’s latest invoice is billed by sending an invoice, delinquent is true if the invoice is not paid by its due date.                                        |
| STRING   | email                                   | Email address associated with the customer.                                                                                                                                                                                                                                                                    |
| STRING   | customer\_name                          |                                                                                                                                                                                                                                                                                                                |
| STRING   | shipping\_address\_city                 | Attribute of the customer's shipping address.                                                                                                                                                                                                                                                                  |
| STRING   | shipping\_address\_country              | Attribute of the customer's shipping address.                                                                                                                                                                                                                                                                  |
| STRING   | shipping\_address\_line\_1              | Attribute of the customer's shipping address.                                                                                                                                                                                                                                                                  |
| STRING   | shipping\_address\_line\_2              | Attribute of the customer's shipping address.                                                                                                                                                                                                                                                                  |
| STRING   | shipping\_address\_postal\_code         | Attribute of the customer's shipping address.                                                                                                                                                                                                                                                                  |
| STRING   | shipping\_address\_state                | Attribute of the customer's shipping address.                                                                                                                                                                                                                                                                  |
| STRING   | shipping\_name                          | Attribute of the customer's shipping address.                                                                                                                                                                                                                                                                  |
| STRING   | shipping\_phone                         | Attribute of the customer's shipping address.                                                                                                                                                                                                                                                                  |
| STRING   | metadata\_fivetran\_account\_id         |                                                                                                                                                                                                                                                                                                                |
| DECIMAL  | total\_sales                            | Sum of all charges made to this customer.                                                                                                                                                                                                                                                                      |
| DECIMAL  | total\_refunds                          | Sum of all refunds made to this customer.                                                                                                                                                                                                                                                                      |
| DECIMAL  | total\_gross\_transaction\_amount       | Gross amount of all transactions made with this customer.                                                                                                                                                                                                                                                      |
| DECIMAL  | total\_fees                             | Total fees charged on all transactions made with this customer.                                                                                                                                                                                                                                                |
| DECIMAL  | total\_net\_transaction\_amount         | Net amount of all transactions made with this customer. This is the gross amount excluding fees, refunds, and disputes.                                                                                                                                                                                        |
| INTEGER  | total\_sales\_count                     | The total number of sales made to this customer.                                                                                                                                                                                                                                                               |
| INTEGER  | total\_refund\_count                    | The total number of refunds made to this customer.                                                                                                                                                                                                                                                             |
| DECIMAL  | sales\_this\_month                      | Sum of charges made to this customer this month.                                                                                                                                                                                                                                                               |
| DECIMAL  | refunds\_this\_month                    | Sum of refunds made to this customer this month.                                                                                                                                                                                                                                                               |
| DECIMAL  | gross\_transaction\_amount\_this\_month | Gross amount of transactions made with this customer this month.                                                                                                                                                                                                                                               |
| DECIMAL  | fees\_this\_month                       | Total fees charged on transactions made with this customer this month.                                                                                                                                                                                                                                         |
| DECIMAL  | net\_transaction\_amount\_this\_month   | Net amount of transactions made with this customer this month.                                                                                                                                                                                                                                                 |
| INTEGER  | sales\_count\_this\_month               | The number of sales made to this customer this month.                                                                                                                                                                                                                                                          |
| INTEGER  | refund\_count\_this\_month              | The number of refunds made to this customer this month.                                                                                                                                                                                                                                                        |
| DATE     | first\_sale\_date                       | Date of the first time this customer was charged.                                                                                                                                                                                                                                                              |
| DATE     | most\_recent\_sale\_date                | Date of the most recent time this customer was charged.                                                                                                                                                                                                                                                        |
| INTEGER  | total\_failed\_charge\_count            | The total number of incomplete charges this customer has had.                                                                                                                                                                                                                                                  |
| DECIMAL  | total\_failed\_charge\_amount           | The total amount from incomplete charges this customer has had.                                                                                                                                                                                                                                                |
| INTEGER  | failed\_charge\_count\_this\_month      | The number of incomplete charges this customer has had this month.                                                                                                                                                                                                                                             |
| DECIMAL  | failed\_charge\_amount\_this\_month     | The amount from incomplete charges this customer has had this month.                                                                                                                                                                                                                                           |
| STRING   | source\_relation                        | The source where this data was pulled from. If you are making use of the `union_schemas` variable, this will be the source schema. If you are making use of the `union_databases` variable, this will be the source database. If you are not unioning together multiple sources, this will be an empty string. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://endash-guidance-docs.gitbook.io/cigro-data-templates/data-model-templates/stripe-customer-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
