# Chargify (v1)

Information note **Chargify is in beta**   
Chargify is currently in beta. The info in this guide is subject to change.

Information note **Chargify is supported by the Singer community**   
This integration is powered by [Singer's](https://www.singer.io/) Chargify tap. For support, [visit the GitHub repo](https://github.com/singer-io/tap-chargify) or [join the Singer Slack](https://singer-slackin.herokuapp.com/).

## Chargify integration summary

Stitch’s Chargify integration replicates data using the [Chargify API](https://reference.chargify.com/v1/basics/introduction). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#schema) section for a list of objects available for replication.

## Chargify feature snapshot

A high-level look at Stitch's Chargify (v1) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Beta | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Singer Community](https://www.singer.io/) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-chargify](https://github.com/singer-io/tap-chargify) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting Chargify

### Chargify setup requirements

To set up Chargify in Stitch, you need:

* **Owner or Admin access in Chargify**. A user with either [level of access](https://help.chargify.com/my-account/users.html#access-levels) is required to create an API key for Stitch.

### Step 1: Create a Chargify API key

Information note **Note**: Completing this step requires Owner or Admin access in Chargify.

1. Sign into your Chargify account as a user with either Owner or Admin access.
2. Navigate to **Config &gt; Integrations**.
3. Click **New API Key**.
4. Copy your API key somewhere secure.

### Step 2: Add Chargify as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **Chargify** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch Chargify” would create a schema called `stitch_chargify` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. In the **API Key** field, paste the API key you created in [Step 1](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#create-api-key).

6. In the **Subdomain** field, enter your Chargify subdomain. For example: If the full URL of your Chargify site were `https://stitch.my-chargify-site.com`, this value would be `stitch`.

### Step 3: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Chargify integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond Chargify’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 4: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Chargify integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 5: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For Chargify integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up Chargify, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## Chargify table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 1** of this integration.

This is the latest version of the Chargify integration.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### components

The `components` table contains info about components associated with a product family in Chargify.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [components schema on GitHub](https://github.com/singer-io/tap-chargify/blob/master/tap_chargify/schemas/components.json "Opens in new tab: components schema on GitHub")<br><br><br>[Chargify API method](https://reference.chargify.com/v1/components/list-components-for-a-product-family "Opens in new tab: Chargify API method") |

components table foreign keys

| Join components with | on |
| --- | --- |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#invoices) | ```<br>components.id = invoices.charges.component_id<br>```<br><br>```<br>components.prices.id = invoices.charges.component_id<br>```<br><br>```<br>components.id = invoices.payments_and_credits.component_id<br>```<br><br>```<br>components.prices.id = invoices.payments_and_credits.component_id<br>``` |
| [price_points](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#price-points) | ```<br>components.id = price_points.component_id<br>```<br><br>```<br>components.prices.id = price_points.component_id<br>```<br><br>```<br>components.id = price_points.prices.component_id<br>```<br><br>```<br>components.prices.id = price_points.prices.component_id<br>```<br><br>```<br>components.default_price_point_id = price_points.id<br>```<br><br>```<br>components.prices.price_point_id = price_points.id<br>``` |
| [statements](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#statements) | ```<br>components.id = statements.transactions.component_id<br>```<br><br>```<br>components.prices.id = statements.transactions.component_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#transactions) | ```<br>components.id = transactions.component_id<br>```<br><br>```<br>components.prices.id = transactions.component_id<br>``` |
| [coupons](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#coupons) | ```<br>components.product_family_id = coupons.product_family_id<br>``` |
| [product_families](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#product-families) | ```<br>components.product_family_id = product_families.id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#products) | ```<br>components.product_family_id = products.product_family.id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#subscriptions) | ```<br>components.product_family_id = subscriptions.product.product_family.id<br>``` |

components table schema

| **archived**<br><br><br>BOOLEAN |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **default\_price\_point\_id**<br><br><br>NUMBER |
| **default\_price\_point\_name**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **downgrade\_credit**<br><br><br>STRING |
| **handle**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **kind**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **price\_per\_unit\_in\_cents**<br><br><br>INTEGER |
| **price\_point\_count**<br><br><br>NUMBER |
| **price\_points\_url**<br><br><br>STRING |
| **prices**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand prices<br><br><table> <tr> <td> <p> <strong>								component_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								formatted_unit_price							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								price_point_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_price							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **pricing\_scheme**<br><br><br>STRING |
| **product\_family\_id**<br><br><br>INTEGER |
| **product\_family\_name**<br><br><br>STRING |
| **recurring**<br><br><br>BOOLEAN |
| **tax\_code**<br><br><br>STRING |
| **taxable**<br><br><br>BOOLEAN |
| **unit\_name**<br><br><br>STRING |
| **unit\_price**<br><br><br>STRING |
| **upgrade\_charge**<br><br><br>STRING |

### coupons

The `coupons` table contains info about coupons associated with a product family in Chargify.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [coupons schema on GitHub](https://github.com/singer-io/tap-chargify/blob/master/tap_chargify/schemas/coupons.json "Opens in new tab: coupons schema on GitHub")<br><br><br>[Chargify API method](https://reference.chargify.com/v1/coupons-editing/list-product-family-coupons "Opens in new tab: Chargify API method") |

coupons table foreign keys

| Join coupons with | on |
| --- | --- |
| [components](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#components) | ```<br>coupons.product_family_id = components.product_family_id<br>``` |
| [product_families](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#product-families) | ```<br>coupons.product_family_id = product_families.id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#products) | ```<br>coupons.product_family_id = products.product_family.id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#subscriptions) | ```<br>coupons.product_family_id = subscriptions.product.product_family.id<br>``` |

coupons table schema

| **allow\_negative\_balance**<br><br><br>BOOLEAN |
| --- |
| **amount\_in\_cents**<br><br><br>INTEGER |
| **archived\_at**<br><br><br>DATE-TIME |
| **code**<br><br><br>STRING |
| **compounding\_strategy**<br><br><br>STRING |
| **conversion\_limit**<br><br><br>INTEGER |
| **coupon\_restrictions**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand coupon\_restrictions<br><br><table> <tr> <td> <p> <strong>								handle							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								item_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								item_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **created\_at**<br><br><br>DATE-TIME |
| **description**<br><br><br>STRING |
| **duration\_interval**<br><br><br>INTEGER |
| **duration\_interval\_unit**<br><br><br>STRING |
| **duration\_period\_count**<br><br><br>NUMBER |
| **end\_date**<br><br><br>DATE-TIME |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **percentage**<br><br><br>NUMBER |
| **product\_family\_id**<br><br><br>INTEGER |
| **recurring**<br><br><br>BOOLEAN |
| **stackable**<br><br><br>BOOLEAN |
| **start\_date**<br><br><br>DATE-TIME |
| **updated\_at**<br><br><br>DATE-TIME |

### customers

The `customers` table contains info about customers associated with your Chargify site.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [customers schema on GitHub](https://github.com/singer-io/tap-chargify/blob/master/tap_chargify/schemas/customers.json "Opens in new tab: customers schema on GitHub")<br><br><br>[Chargify API method](https://reference.chargify.com/v1/customers/list-customers-for-a-site "Opens in new tab: Chargify API method") |

customers table foreign keys

| Join customers with | on |
| --- | --- |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#invoices) | ```<br>customers.id = invoices.charges.customer_id<br>```<br><br>```<br>customers.parent_id = invoices.charges.customer_id<br>```<br><br>```<br>customers.id = invoices.payments_and_credits.customer_id<br>```<br><br>```<br>customers.parent_id = invoices.payments_and_credits.customer_id<br>``` |
| [statements](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#statements) | ```<br>customers.id = statements.transactions.customer_id<br>```<br><br>```<br>customers.parent_id = statements.transactions.customer_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#subscriptions) | ```<br>customers.id = subscriptions.credit_card.customer_id<br>```<br><br>```<br>customers.parent_id = subscriptions.credit_card.customer_id<br>```<br><br>```<br>customers.id = subscriptions.customer.id<br>```<br><br>```<br>customers.parent_id = subscriptions.customer.id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#transactions) | ```<br>customers.id = transactions.customer_id<br>```<br><br>```<br>customers.parent_id = transactions.customer_id<br>``` |

customers table schema

| **address**<br><br><br>STRING |
| --- |
| **address\_2**<br><br><br>STRING |
| **cc\_emails**<br><br><br>STRING |
| **city**<br><br><br>STRING |
| **country**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **first\_name**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **last\_name**<br><br><br>STRING |
| **organization**<br><br><br>STRING |
| **parent\_id**<br><br><br>INTEGER |
| **phone**<br><br><br>STRING |
| **portal\_customer\_created\_at**<br><br><br>DATE-TIME |
| **portal\_invite\_last\_accepted\_at**<br><br><br>DATE-TIME |
| **portal\_invite\_last\_sent\_at**<br><br><br>DATE-TIME |
| **reference**<br><br><br>STRING |
| **state**<br><br><br>STRING |
| **tax\_exempt**<br><br><br>BOOLEAN |
| **updated\_at**<br><br><br>DATE-TIME |
| **vat\_number**<br><br><br>STRING |
| **verified**<br><br><br>BOOLEAN |
| **zip**<br><br><br>STRING |

### events

The `events` table contains info about activity on your Chargify site.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [events schema on GitHub](https://github.com/singer-io/tap-chargify/blob/master/tap_chargify/schemas/events.json "Opens in new tab: events schema on GitHub")<br><br><br>[Chargify API method](https://reference.chargify.com/v1/events/list-events-for-a-site "Opens in new tab: Chargify API method") |

events table foreign keys

| Join events with | on |
| --- | --- |
| [statements](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#statements) | ```<br>events.id = statements.events.event.id<br>```<br><br>```<br>events.event_specific_data.product_id = statements.events.event.event_specific_data.product_id<br>```<br><br>```<br>events.event_specific_data.product_id = statements.transactions.product_id<br>```<br><br>```<br>events.subscription_id = statements.events.event.subscription_id<br>```<br><br>```<br>events.subscription_id = statements.subscription_id<br>```<br><br>```<br>events.subscription_id = statements.transactions.subscription_id<br>```<br><br>```<br>events.event_specific_data.account_transaction_id = statements.transactions.id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#invoices) | ```<br>events.event_specific_data.product_id = invoices.charges.product_id<br>```<br><br>```<br>events.event_specific_data.product_id = invoices.payments_and_credits.product_id<br>```<br><br>```<br>events.subscription_id = invoices.charges.subscription_id<br>```<br><br>```<br>events.subscription_id = invoices.payments_and_credits.subscription_id<br>```<br><br>```<br>events.subscription_id = invoices.subscription_id<br>```<br><br>```<br>events.event_specific_data.account_transaction_id = invoices.charges.payment_id<br>```<br><br>```<br>events.event_specific_data.account_transaction_id = invoices.payments_and_credits.payment_id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#products) | ```<br>events.event_specific_data.product_id = products.id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#subscriptions) | ```<br>events.event_specific_data.product_id = subscriptions.next_product_id<br>```<br><br>```<br>events.event_specific_data.product_id = subscriptions.product.id<br>```<br><br>```<br>events.subscription_id = subscriptions.id<br>```<br><br>```<br>events.event_specific_data.account_transaction_id = subscriptions.signup_payment_id<br>```<br><br>```<br>events.event_specific_data.account_transaction_id = subscriptions.stored_credential_transaction_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#transactions) | ```<br>events.event_specific_data.product_id = transactions.product_id<br>```<br><br>```<br>events.subscription_id = transactions.subscription_id<br>```<br><br>```<br>events.event_specific_data.account_transaction_id = transactions.id<br>```<br><br>```<br>events.event_specific_data.account_transaction_id = transactions.parent_id<br>```<br><br>```<br>events.event_specific_data.account_transaction_id = transactions.payment_id<br>``` |

events table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **event\_specific\_data**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand event\_specific\_data<br><br><table> <tr> <td> <p> <strong>								account_transaction_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								current_step							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand current_step</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								action							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								day_threshold							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								email_body							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email_subject							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_bcc_email							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_email							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_sms							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								sms_body							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								dunner							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand dunner</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								attempts							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_attempted_at							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								revenue_at_risk_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								new_product_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								new_subscription_state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								next_step							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand next_step</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								action							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								day_threshold							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								email_body							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email_subject							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_bcc_email							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_email							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_sms							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								sms_body							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								previous_product_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								previous_subscription_state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								product_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **id**<br><br><br>INTEGER |
| **key**<br><br><br>STRING |
| **message**<br><br><br>STRING |
| **subscription\_id**<br><br><br>INTEGER |

### invoices

The `invoices` table contains info about invoices in your Chargify instance.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [invoices schema on GitHub](https://github.com/singer-io/tap-chargify/blob/master/tap_chargify/schemas/invoices.json "Opens in new tab: invoices schema on GitHub")<br><br><br>[Chargify API method](https://reference.chargify.com/v1/invoices-legacy/list-all-invoices-by-subscription "Opens in new tab: Chargify API method") |

invoices table foreign keys

| Join invoices with | on |
| --- | --- |
| [components](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#components) | ```<br>invoices.charges.component_id = components.id<br>```<br><br>```<br>invoices.payments_and_credits.component_id = components.id<br>```<br><br>```<br>invoices.charges.component_id = components.prices.id<br>```<br><br>```<br>invoices.payments_and_credits.component_id = components.prices.id<br>``` |
| [price_points](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#price-points) | ```<br>invoices.charges.component_id = price_points.component_id<br>```<br><br>```<br>invoices.payments_and_credits.component_id = price_points.component_id<br>```<br><br>```<br>invoices.charges.component_id = price_points.prices.component_id<br>```<br><br>```<br>invoices.payments_and_credits.component_id = price_points.prices.component_id<br>``` |
| [statements](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#statements) | ```<br>invoices.charges.component_id = statements.transactions.component_id<br>```<br><br>```<br>invoices.payments_and_credits.component_id = statements.transactions.component_id<br>```<br><br>```<br>invoices.charges.customer_id = statements.transactions.customer_id<br>```<br><br>```<br>invoices.payments_and_credits.customer_id = statements.transactions.customer_id<br>```<br><br>```<br>invoices.charges.product_id = statements.events.event.event_specific_data.product_id<br>```<br><br>```<br>invoices.payments_and_credits.product_id = statements.events.event.event_specific_data.product_id<br>```<br><br>```<br>invoices.charges.product_id = statements.transactions.product_id<br>```<br><br>```<br>invoices.payments_and_credits.product_id = statements.transactions.product_id<br>```<br><br>```<br>invoices.statement_id = statements.id<br>```<br><br>```<br>invoices.statement_id = statements.transactions.statement_id<br>```<br><br>```<br>invoices.charges.subscription_id = statements.events.event.subscription_id<br>```<br><br>```<br>invoices.payments_and_credits.subscription_id = statements.events.event.subscription_id<br>```<br><br>```<br>invoices.subscription_id = statements.events.event.subscription_id<br>```<br><br>```<br>invoices.charges.subscription_id = statements.subscription_id<br>```<br><br>```<br>invoices.payments_and_credits.subscription_id = statements.subscription_id<br>```<br><br>```<br>invoices.subscription_id = statements.subscription_id<br>```<br><br>```<br>invoices.charges.subscription_id = statements.transactions.subscription_id<br>```<br><br>```<br>invoices.payments_and_credits.subscription_id = statements.transactions.subscription_id<br>```<br><br>```<br>invoices.subscription_id = statements.transactions.subscription_id<br>```<br><br>```<br>invoices.charges.payment_id = statements.transactions.id<br>```<br><br>```<br>invoices.payments_and_credits.payment_id = statements.transactions.id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#transactions) | ```<br>invoices.charges.component_id = transactions.component_id<br>```<br><br>```<br>invoices.payments_and_credits.component_id = transactions.component_id<br>```<br><br>```<br>invoices.charges.customer_id = transactions.customer_id<br>```<br><br>```<br>invoices.payments_and_credits.customer_id = transactions.customer_id<br>```<br><br>```<br>invoices.charges.product_id = transactions.product_id<br>```<br><br>```<br>invoices.payments_and_credits.product_id = transactions.product_id<br>```<br><br>```<br>invoices.statement_id = transactions.statement_id<br>```<br><br>```<br>invoices.charges.subscription_id = transactions.subscription_id<br>```<br><br>```<br>invoices.payments_and_credits.subscription_id = transactions.subscription_id<br>```<br><br>```<br>invoices.subscription_id = transactions.subscription_id<br>```<br><br>```<br>invoices.charges.payment_id = transactions.id<br>```<br><br>```<br>invoices.payments_and_credits.payment_id = transactions.id<br>```<br><br>```<br>invoices.charges.payment_id = transactions.parent_id<br>```<br><br>```<br>invoices.payments_and_credits.payment_id = transactions.parent_id<br>```<br><br>```<br>invoices.charges.payment_id = transactions.payment_id<br>```<br><br>```<br>invoices.payments_and_credits.payment_id = transactions.payment_id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#customers) | ```<br>invoices.charges.customer_id = customers.id<br>```<br><br>```<br>invoices.payments_and_credits.customer_id = customers.id<br>```<br><br>```<br>invoices.charges.customer_id = customers.parent_id<br>```<br><br>```<br>invoices.payments_and_credits.customer_id = customers.parent_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#subscriptions) | ```<br>invoices.charges.customer_id = subscriptions.credit_card.customer_id<br>```<br><br>```<br>invoices.payments_and_credits.customer_id = subscriptions.credit_card.customer_id<br>```<br><br>```<br>invoices.charges.customer_id = subscriptions.customer.id<br>```<br><br>```<br>invoices.payments_and_credits.customer_id = subscriptions.customer.id<br>```<br><br>```<br>invoices.charges.product_id = subscriptions.next_product_id<br>```<br><br>```<br>invoices.payments_and_credits.product_id = subscriptions.next_product_id<br>```<br><br>```<br>invoices.charges.product_id = subscriptions.product.id<br>```<br><br>```<br>invoices.payments_and_credits.product_id = subscriptions.product.id<br>```<br><br>```<br>invoices.charges.subscription_id = subscriptions.id<br>```<br><br>```<br>invoices.payments_and_credits.subscription_id = subscriptions.id<br>```<br><br>```<br>invoices.subscription_id = subscriptions.id<br>```<br><br>```<br>invoices.charges.payment_id = subscriptions.signup_payment_id<br>```<br><br>```<br>invoices.payments_and_credits.payment_id = subscriptions.signup_payment_id<br>```<br><br>```<br>invoices.charges.payment_id = subscriptions.stored_credential_transaction_id<br>```<br><br>```<br>invoices.payments_and_credits.payment_id = subscriptions.stored_credential_transaction_id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#events) | ```<br>invoices.charges.product_id = events.event_specific_data.product_id<br>```<br><br>```<br>invoices.payments_and_credits.product_id = events.event_specific_data.product_id<br>```<br><br>```<br>invoices.charges.subscription_id = events.subscription_id<br>```<br><br>```<br>invoices.payments_and_credits.subscription_id = events.subscription_id<br>```<br><br>```<br>invoices.subscription_id = events.subscription_id<br>```<br><br>```<br>invoices.charges.payment_id = events.event_specific_data.account_transaction_id<br>```<br><br>```<br>invoices.payments_and_credits.payment_id = events.event_specific_data.account_transaction_id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#products) | ```<br>invoices.charges.product_id = products.id<br>```<br><br>```<br>invoices.payments_and_credits.product_id = products.id<br>``` |

invoices table schema

| **amount\_due\_in\_cents**<br><br><br>INTEGER |
| --- |
| **charges**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand charges<br><br><table> <tr> <td> <p> <strong>								amount_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								component_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_balance_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_order_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_transaction_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								kind							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								memo							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								payment_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								product_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_balance_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								success							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								tax_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **created\_at**<br><br><br>DATE-TIME |
| **id**<br><br><br>INTEGER |
| **number**<br><br><br>STRING |
| **paid\_at**<br><br><br>DATE-TIME |
| **payments\_and\_credits**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand payments\_and\_credits<br><br><table> <tr> <td> <p> <strong>								amount_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								card_expiration							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								component_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_balance_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_order_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_transaction_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								kind							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								memo							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								payment_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								product_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_balance_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								success							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								tax_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								transaction_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **site\_id**<br><br><br>INTEGER |
| **state**<br><br><br>STRING |
| **statement\_id**<br><br><br>INTEGER |
| **subscription\_id**<br><br><br>INTEGER |
| **total\_amount\_in\_cents**<br><br><br>INTEGER |
| **updated\_at**<br><br><br>DATE-TIME |

### price\_points

The `price_points` table contains info about product price points in your Chargify instance.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [price_points schema on GitHub](https://github.com/singer-io/tap-chargify/blob/master/tap_chargify/schemas/price_points.json "Opens in new tab: price_points schema on GitHub")<br><br><br>[Chargify API method](https://reference.chargify.com/v1/products-price-points/read-product-price-points "Opens in new tab: Chargify API method") |

price\_points table foreign keys

| Join price\_points with | on |
| --- | --- |
| [components](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#components) | ```<br>price_points.component_id = components.id<br>```<br><br>```<br>price_points.prices.component_id = components.id<br>```<br><br>```<br>price_points.component_id = components.prices.id<br>```<br><br>```<br>price_points.prices.component_id = components.prices.id<br>```<br><br>```<br>price_points.id = components.default_price_point_id<br>```<br><br>```<br>price_points.id = components.prices.price_point_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#invoices) | ```<br>price_points.component_id = invoices.charges.component_id<br>```<br><br>```<br>price_points.prices.component_id = invoices.charges.component_id<br>```<br><br>```<br>price_points.component_id = invoices.payments_and_credits.component_id<br>```<br><br>```<br>price_points.prices.component_id = invoices.payments_and_credits.component_id<br>``` |
| [statements](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#statements) | ```<br>price_points.component_id = statements.transactions.component_id<br>```<br><br>```<br>price_points.prices.component_id = statements.transactions.component_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#transactions) | ```<br>price_points.component_id = transactions.component_id<br>```<br><br>```<br>price_points.prices.component_id = transactions.component_id<br>``` |

price\_points table schema

| **archived\_at**<br><br><br>DATE-TIME |
| --- |
| **component\_id**<br><br><br>INTEGER |
| **created\_at**<br><br><br>DATE-TIME |
| **default**<br><br><br>BOOLEAN |
| **handle**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **prices**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand prices<br><br><table> <tr> <td> <p> <strong>								component_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_quantity							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unit_price							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **pricing\_scheme**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### product\_families

The `product_families` table contains info about product families in your Chargify instance. Product families house your products, components, and coupons and are used to categorize products, product levels, or service offerings to your subscribers.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [product_families schema on GitHub](https://github.com/singer-io/tap-chargify/blob/master/tap_chargify/schemas/product_families.json "Opens in new tab: product_families schema on GitHub")<br><br><br>[Chargify API method](https://reference.chargify.com/v1/product-families/list-product-family-via-site "Opens in new tab: Chargify API method") |

product\_families table foreign keys

| Join product\_families with | on |
| --- | --- |
| [components](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#components) | ```<br>product_families.id = components.product_family_id<br>``` |
| [coupons](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#coupons) | ```<br>product_families.id = coupons.product_family_id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#products) | ```<br>product_families.id = products.product_family.id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#subscriptions) | ```<br>product_families.id = subscriptions.product.product_family.id<br>``` |

product\_families table schema

| **accounting\_code**<br><br><br>STRING |
| --- |
| **description**<br><br><br>STRING |
| **handle**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |

### products

The `products` table contains info about the prodcts in your Chargify instance.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [products schema on GitHub](https://github.com/singer-io/tap-chargify/blob/master/tap_chargify/schemas/products.json "Opens in new tab: products schema on GitHub")<br><br><br>[Chargify API method](https://reference.chargify.com/v1/products/list-products "Opens in new tab: Chargify API method") |

products table foreign keys

| Join products with | on |
| --- | --- |
| [components](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#components) | ```<br>products.product_family.id = components.product_family_id<br>``` |
| [coupons](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#coupons) | ```<br>products.product_family.id = coupons.product_family_id<br>``` |
| [product_families](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#product-families) | ```<br>products.product_family.id = product_families.id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#subscriptions) | ```<br>products.product_family.id = subscriptions.product.product_family.id<br>```<br><br>```<br>products.id = subscriptions.next_product_id<br>```<br><br>```<br>products.id = subscriptions.product.id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#events) | ```<br>products.id = events.event_specific_data.product_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#invoices) | ```<br>products.id = invoices.charges.product_id<br>```<br><br>```<br>products.id = invoices.payments_and_credits.product_id<br>``` |
| [statements](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#statements) | ```<br>products.id = statements.events.event.event_specific_data.product_id<br>```<br><br>```<br>products.id = statements.transactions.product_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#transactions) | ```<br>products.id = transactions.product_id<br>``` |

products table schema

| **accounting\_code**<br><br><br>STRING |
| --- |
| **archived\_at**<br><br><br>DATE-TIME |
| **created\_at**<br><br><br>DATE-TIME |
| **description**<br><br><br>STRING |
| **expiration\_interval**<br><br><br>STRING |
| **expiration\_interval\_unit**<br><br><br>STRING |
| **handle**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **initial\_charge\_after\_trial**<br><br><br>BOOLEAN |
| **initial\_charge\_in\_cents**<br><br><br>INTEGER |
| **interval**<br><br><br>INTEGER |
| **interval\_unit**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **price\_in\_cents**<br><br><br>INTEGER |
| **product\_family**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand product\_family<br><br><table> <tr> <td> <p> <strong>								accounting_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								handle							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **public\_signup\_pages**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand public\_signup\_pages<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								return_params							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								return_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								url							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **request\_credit\_card**<br><br><br>BOOLEAN |
| **require\_credit\_card**<br><br><br>BOOLEAN |
| **return\_params**<br><br><br>STRING |
| **tax\_code**<br><br><br>STRING |
| **taxable**<br><br><br>BOOLEAN |
| **trial\_interval**<br><br><br>INTEGER |
| **trial\_interval\_unit**<br><br><br>STRING |
| **trial\_price\_in\_cents**<br><br><br>INTEGER |
| **update\_return\_params**<br><br><br>STRING |
| **update\_return\_url**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **version\_number**<br><br><br>INTEGER |

### statements

The `statements` table contains info about the statements in your Chargify instance. Statements show all account activity for a specific usage period and are similar to invoices, as they can be marked as currently paid or unpaid.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [statements schema on GitHub](https://github.com/singer-io/tap-chargify/blob/master/tap_chargify/schemas/statements.json "Opens in new tab: statements schema on GitHub")<br><br><br>[Chargify API method](https://reference.chargify.com/v1/statements/list-statements-for-a-site "Opens in new tab: Chargify API method") |

statements table foreign keys

| Join statements with | on |
| --- | --- |
| [components](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#components) | ```<br>statements.transactions.component_id = components.id<br>```<br><br>```<br>statements.transactions.component_id = components.prices.id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#invoices) | ```<br>statements.transactions.component_id = invoices.charges.component_id<br>```<br><br>```<br>statements.transactions.component_id = invoices.payments_and_credits.component_id<br>```<br><br>```<br>statements.transactions.customer_id = invoices.charges.customer_id<br>```<br><br>```<br>statements.transactions.customer_id = invoices.payments_and_credits.customer_id<br>```<br><br>```<br>statements.events.event.event_specific_data.product_id = invoices.charges.product_id<br>```<br><br>```<br>statements.transactions.product_id = invoices.charges.product_id<br>```<br><br>```<br>statements.events.event.event_specific_data.product_id = invoices.payments_and_credits.product_id<br>```<br><br>```<br>statements.transactions.product_id = invoices.payments_and_credits.product_id<br>```<br><br>```<br>statements.id = invoices.statement_id<br>```<br><br>```<br>statements.transactions.statement_id = invoices.statement_id<br>```<br><br>```<br>statements.events.event.subscription_id = invoices.charges.subscription_id<br>```<br><br>```<br>statements.subscription_id = invoices.charges.subscription_id<br>```<br><br>```<br>statements.transactions.subscription_id = invoices.charges.subscription_id<br>```<br><br>```<br>statements.events.event.subscription_id = invoices.payments_and_credits.subscription_id<br>```<br><br>```<br>statements.subscription_id = invoices.payments_and_credits.subscription_id<br>```<br><br>```<br>statements.transactions.subscription_id = invoices.payments_and_credits.subscription_id<br>```<br><br>```<br>statements.events.event.subscription_id = invoices.subscription_id<br>```<br><br>```<br>statements.subscription_id = invoices.subscription_id<br>```<br><br>```<br>statements.transactions.subscription_id = invoices.subscription_id<br>```<br><br>```<br>statements.transactions.id = invoices.charges.payment_id<br>```<br><br>```<br>statements.transactions.id = invoices.payments_and_credits.payment_id<br>``` |
| [price_points](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#price-points) | ```<br>statements.transactions.component_id = price_points.component_id<br>```<br><br>```<br>statements.transactions.component_id = price_points.prices.component_id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#transactions) | ```<br>statements.transactions.component_id = transactions.component_id<br>```<br><br>```<br>statements.transactions.customer_id = transactions.customer_id<br>```<br><br>```<br>statements.events.event.event_specific_data.product_id = transactions.product_id<br>```<br><br>```<br>statements.transactions.product_id = transactions.product_id<br>```<br><br>```<br>statements.id = transactions.statement_id<br>```<br><br>```<br>statements.transactions.statement_id = transactions.statement_id<br>```<br><br>```<br>statements.events.event.subscription_id = transactions.subscription_id<br>```<br><br>```<br>statements.subscription_id = transactions.subscription_id<br>```<br><br>```<br>statements.transactions.subscription_id = transactions.subscription_id<br>```<br><br>```<br>statements.transactions.id = transactions.id<br>```<br><br>```<br>statements.transactions.id = transactions.parent_id<br>```<br><br>```<br>statements.transactions.id = transactions.payment_id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#customers) | ```<br>statements.transactions.customer_id = customers.id<br>```<br><br>```<br>statements.transactions.customer_id = customers.parent_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#subscriptions) | ```<br>statements.transactions.customer_id = subscriptions.credit_card.customer_id<br>```<br><br>```<br>statements.transactions.customer_id = subscriptions.customer.id<br>```<br><br>```<br>statements.events.event.event_specific_data.product_id = subscriptions.next_product_id<br>```<br><br>```<br>statements.transactions.product_id = subscriptions.next_product_id<br>```<br><br>```<br>statements.events.event.event_specific_data.product_id = subscriptions.product.id<br>```<br><br>```<br>statements.transactions.product_id = subscriptions.product.id<br>```<br><br>```<br>statements.events.event.subscription_id = subscriptions.id<br>```<br><br>```<br>statements.subscription_id = subscriptions.id<br>```<br><br>```<br>statements.transactions.subscription_id = subscriptions.id<br>```<br><br>```<br>statements.transactions.id = subscriptions.signup_payment_id<br>```<br><br>```<br>statements.transactions.id = subscriptions.stored_credential_transaction_id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#events) | ```<br>statements.events.event.id = events.id<br>```<br><br>```<br>statements.events.event.event_specific_data.product_id = events.event_specific_data.product_id<br>```<br><br>```<br>statements.transactions.product_id = events.event_specific_data.product_id<br>```<br><br>```<br>statements.events.event.subscription_id = events.subscription_id<br>```<br><br>```<br>statements.subscription_id = events.subscription_id<br>```<br><br>```<br>statements.transactions.subscription_id = events.subscription_id<br>```<br><br>```<br>statements.transactions.id = events.event_specific_data.account_transaction_id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#products) | ```<br>statements.events.event.event_specific_data.product_id = products.id<br>```<br><br>```<br>statements.transactions.product_id = products.id<br>``` |

statements table schema

| **basic\_html\_view**<br><br><br>STRING |
| --- |
| **closed\_at**<br><br><br>DATE-TIME |
| **created\_at**<br><br><br>DATE-TIME |
| **customer\_billing\_address**<br><br><br>STRING |
| **customer\_billing\_address\_2**<br><br><br>STRING |
| **customer\_billing\_city**<br><br><br>STRING |
| **customer\_billing\_country**<br><br><br>STRING |
| **customer\_billing\_state**<br><br><br>STRING |
| **customer\_billing\_zip**<br><br><br>STRING |
| **customer\_first\_name**<br><br><br>STRING |
| **customer\_last\_name**<br><br><br>STRING |
| **customer\_organization**<br><br><br>STRING |
| **customer\_shipping\_address**<br><br><br>STRING |
| **customer\_shipping\_address\_2**<br><br><br>STRING |
| **customer\_shipping\_city**<br><br><br>STRING |
| **customer\_shipping\_country**<br><br><br>STRING |
| **customer\_shipping\_state**<br><br><br>STRING |
| **customer\_shipping\_zip**<br><br><br>STRING |
| **ending\_balance\_in\_cents**<br><br><br>INTEGER |
| **events**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand events<br><br><table> <tr> <td> <p> <strong>								event							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand event</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								event_specific_data							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand event_specific_data</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								account_transaction_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								current_step							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand current_step</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								action							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								day_threshold							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								email_body							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email_subject							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_bcc_email							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_email							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_sms							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								sms_body							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								dunner							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand dunner</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								attempts							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_attempted_at							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								revenue_at_risk_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								new_product_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								new_subscription_state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								next_step							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand next_step</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								action							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								day_threshold							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								email_body							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								email_subject							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								send_bcc_email							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_email							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								send_sms							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								sms_body							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								previous_product_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								previous_subscription_state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								product_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								key							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								message							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **future\_payments**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand future\_payments<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **html\_view**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **memo**<br><br><br>STRING |
| **opened\_at**<br><br><br>DATE-TIME |
| **settled\_at**<br><br><br>DATE-TIME |
| **starting\_balance\_in\_cents**<br><br><br>INTEGER |
| **subscription\_id**<br><br><br>INTEGER |
| **text\_view**<br><br><br>STRING |
| **total\_in\_cents**<br><br><br>INTEGER |
| **transactions**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand transactions<br><br><table> <tr> <td> <p> <strong>								amount_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								component_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								discount_amount_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								ending_balance_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_order_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_transaction_id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								gateway_used							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								item_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								kind							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								memo							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								original_amount_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								payment_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								product_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								starting_balance_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								statement_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								subscription_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								success							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								tax_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								taxable_amount_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								taxations							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand taxations</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								transaction_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **updated\_at**<br><br><br>DATE-TIME |

### subscriptions

The `subscriptions` table contains info about the subscriptions in your Chargify instance.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [subscriptions schema on GitHub](https://github.com/singer-io/tap-chargify/blob/master/tap_chargify/schemas/subscriptions.json "Opens in new tab: subscriptions schema on GitHub")<br><br><br>[Chargify API method](https://reference.chargify.com/v1/subscriptions/list-subscriptions "Opens in new tab: Chargify API method") |

subscriptions table foreign keys

| Join subscriptions with | on |
| --- | --- |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#customers) | ```<br>subscriptions.credit_card.customer_id = customers.id<br>```<br><br>```<br>subscriptions.customer.id = customers.id<br>```<br><br>```<br>subscriptions.credit_card.customer_id = customers.parent_id<br>```<br><br>```<br>subscriptions.customer.id = customers.parent_id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#invoices) | ```<br>subscriptions.credit_card.customer_id = invoices.charges.customer_id<br>```<br><br>```<br>subscriptions.customer.id = invoices.charges.customer_id<br>```<br><br>```<br>subscriptions.credit_card.customer_id = invoices.payments_and_credits.customer_id<br>```<br><br>```<br>subscriptions.customer.id = invoices.payments_and_credits.customer_id<br>```<br><br>```<br>subscriptions.next_product_id = invoices.charges.product_id<br>```<br><br>```<br>subscriptions.product.id = invoices.charges.product_id<br>```<br><br>```<br>subscriptions.next_product_id = invoices.payments_and_credits.product_id<br>```<br><br>```<br>subscriptions.product.id = invoices.payments_and_credits.product_id<br>```<br><br>```<br>subscriptions.id = invoices.charges.subscription_id<br>```<br><br>```<br>subscriptions.id = invoices.payments_and_credits.subscription_id<br>```<br><br>```<br>subscriptions.id = invoices.subscription_id<br>```<br><br>```<br>subscriptions.signup_payment_id = invoices.charges.payment_id<br>```<br><br>```<br>subscriptions.stored_credential_transaction_id = invoices.charges.payment_id<br>```<br><br>```<br>subscriptions.signup_payment_id = invoices.payments_and_credits.payment_id<br>```<br><br>```<br>subscriptions.stored_credential_transaction_id = invoices.payments_and_credits.payment_id<br>``` |
| [statements](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#statements) | ```<br>subscriptions.credit_card.customer_id = statements.transactions.customer_id<br>```<br><br>```<br>subscriptions.customer.id = statements.transactions.customer_id<br>```<br><br>```<br>subscriptions.next_product_id = statements.events.event.event_specific_data.product_id<br>```<br><br>```<br>subscriptions.product.id = statements.events.event.event_specific_data.product_id<br>```<br><br>```<br>subscriptions.next_product_id = statements.transactions.product_id<br>```<br><br>```<br>subscriptions.product.id = statements.transactions.product_id<br>```<br><br>```<br>subscriptions.id = statements.events.event.subscription_id<br>```<br><br>```<br>subscriptions.id = statements.subscription_id<br>```<br><br>```<br>subscriptions.id = statements.transactions.subscription_id<br>```<br><br>```<br>subscriptions.signup_payment_id = statements.transactions.id<br>```<br><br>```<br>subscriptions.stored_credential_transaction_id = statements.transactions.id<br>``` |
| [transactions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#transactions) | ```<br>subscriptions.credit_card.customer_id = transactions.customer_id<br>```<br><br>```<br>subscriptions.customer.id = transactions.customer_id<br>```<br><br>```<br>subscriptions.next_product_id = transactions.product_id<br>```<br><br>```<br>subscriptions.product.id = transactions.product_id<br>```<br><br>```<br>subscriptions.id = transactions.subscription_id<br>```<br><br>```<br>subscriptions.signup_payment_id = transactions.id<br>```<br><br>```<br>subscriptions.stored_credential_transaction_id = transactions.id<br>```<br><br>```<br>subscriptions.signup_payment_id = transactions.parent_id<br>```<br><br>```<br>subscriptions.stored_credential_transaction_id = transactions.parent_id<br>```<br><br>```<br>subscriptions.signup_payment_id = transactions.payment_id<br>```<br><br>```<br>subscriptions.stored_credential_transaction_id = transactions.payment_id<br>``` |
| [components](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#components) | ```<br>subscriptions.product.product_family.id = components.product_family_id<br>``` |
| [coupons](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#coupons) | ```<br>subscriptions.product.product_family.id = coupons.product_family_id<br>``` |
| [product_families](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#product-families) | ```<br>subscriptions.product.product_family.id = product_families.id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#products) | ```<br>subscriptions.product.product_family.id = products.product_family.id<br>```<br><br>```<br>subscriptions.next_product_id = products.id<br>```<br><br>```<br>subscriptions.product.id = products.id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#events) | ```<br>subscriptions.next_product_id = events.event_specific_data.product_id<br>```<br><br>```<br>subscriptions.product.id = events.event_specific_data.product_id<br>```<br><br>```<br>subscriptions.id = events.subscription_id<br>```<br><br>```<br>subscriptions.signup_payment_id = events.event_specific_data.account_transaction_id<br>```<br><br>```<br>subscriptions.stored_credential_transaction_id = events.event_specific_data.account_transaction_id<br>``` |

subscriptions table schema

| **activated\_at**<br><br><br>DATE-TIME |
| --- |
| **balance\_in\_cents**<br><br><br>INTEGER |
| **cancel\_at\_end\_of\_period**<br><br><br>BOOLEAN |
| **canceled\_at**<br><br><br>DATE-TIME |
| **cancellation\_message**<br><br><br>STRING |
| **cancellation\_method**<br><br><br>STRING |
| **coupon\_codes**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **credit\_card**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand credit\_card<br><br><table> <tr> <td> <p> <strong>								billing_address							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_address_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								billing_zip							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								card_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								current_vault							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								customer_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								customer_vault_token							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								expiration_month							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								expiration_year							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								masked_card_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								payment_type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								vault_token							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **current\_period\_ends\_at**<br><br><br>DATE-TIME |
| **current\_period\_started\_at**<br><br><br>DATE-TIME |
| **customer**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand customer<br><br><table> <tr> <td> <p> <strong>								address							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								address_2							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cc_emails							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								organization							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								phone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								portal_customer_created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								portal_invite_last_accepted_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								portal_invite_last_sent_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								reference							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								tax_exempt							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								vat_number							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								verified							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								zip							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **delayed\_cancel\_at**<br><br><br>DATE-TIME |
| **expires\_at**<br><br><br>DATE-TIME |
| **id**<br><br><br>INTEGER |
| **net\_terms**<br><br><br>INTEGER |
| **next\_assessment\_at**<br><br><br>DATE-TIME |
| **next\_product\_id**<br><br><br>INTEGER |
| **payment\_collection\_method**<br><br><br>STRING |
| **payment\_type**<br><br><br>STRING |
| **previous\_state**<br><br><br>STRING |
| **product**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand product<br><br><table> <tr> <td> <p> <strong>								accounting_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								archived_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								expiration_interval							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								expiration_interval_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								handle							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								initial_charge_after_trial							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								initial_charge_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								interval							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								interval_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								price_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								product_family							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand product_family</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								accounting_code							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								handle							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								public_signup_pages							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand public_signup_pages</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								url							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								request_credit_card							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								require_credit_card							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								return_params							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								taxable							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								trial_interval							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								trial_interval_unit							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								trial_price_in_cents							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								update_return_params							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								update_return_url							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								version_number							</strong> </p> <p>							NUMBER													</p> </td> </tr> </table> |
| **product\_price\_in\_cents**<br><br><br>INTEGER |
| **product\_version\_number**<br><br><br>INTEGER |
| **reason\_code**<br><br><br>STRING |
| **receives\_invoice\_emails**<br><br><br>BOOLEAN |
| **referral\_code**<br><br><br>STRING |
| **signup\_payment\_id**<br><br><br>NUMBER |
| **signup\_revenue**<br><br><br>STRING |
| **snap\_day**<br><br><br>STRING |
| **state**<br><br><br>STRING |
| **stored\_credential\_transaction\_id**<br><br><br>INTEGER |
| **total\_revenue\_in\_cents**<br><br><br>INTEGER |
| **trial\_ended\_at**<br><br><br>DATE-TIME |
| **trial\_started\_at**<br><br><br>DATE-TIME |
| **updated\_at**<br><br><br>DATE-TIME |

### transactions

The `transactions` table contains info about the transactions for your Chargify site.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Loading Behavior [](https://help.qlik.com/en-US/stitch/replication/loading/understanding-loading-behavior)[the Info icon](https://help.qlik.com/en-US/stitch/replication/loading/understanding-loading-behavior)[](https://help.qlik.com/en-US/stitch/replication/loading/understanding-loading-behavior)** | Append-Only |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | created\_at |
| **Useful links** | [transactions schema on GitHub](https://github.com/singer-io/tap-chargify/blob/master/tap_chargify/schemas/transactions.json "Opens in new tab: transactions schema on GitHub")<br><br><br>[Chargify API method](https://reference.chargify.com/v1/transactions/list-transactions-for-the-site "Opens in new tab: Chargify API method") |

transactions table foreign keys

| Join transactions with | on |
| --- | --- |
| [components](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#components) | ```<br>transactions.component_id = components.id<br>```<br><br>```<br>transactions.component_id = components.prices.id<br>``` |
| [invoices](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#invoices) | ```<br>transactions.component_id = invoices.charges.component_id<br>```<br><br>```<br>transactions.component_id = invoices.payments_and_credits.component_id<br>```<br><br>```<br>transactions.customer_id = invoices.charges.customer_id<br>```<br><br>```<br>transactions.customer_id = invoices.payments_and_credits.customer_id<br>```<br><br>```<br>transactions.product_id = invoices.charges.product_id<br>```<br><br>```<br>transactions.product_id = invoices.payments_and_credits.product_id<br>```<br><br>```<br>transactions.statement_id = invoices.statement_id<br>```<br><br>```<br>transactions.subscription_id = invoices.charges.subscription_id<br>```<br><br>```<br>transactions.subscription_id = invoices.payments_and_credits.subscription_id<br>```<br><br>```<br>transactions.subscription_id = invoices.subscription_id<br>```<br><br>```<br>transactions.id = invoices.charges.payment_id<br>```<br><br>```<br>transactions.parent_id = invoices.charges.payment_id<br>```<br><br>```<br>transactions.payment_id = invoices.charges.payment_id<br>```<br><br>```<br>transactions.id = invoices.payments_and_credits.payment_id<br>```<br><br>```<br>transactions.parent_id = invoices.payments_and_credits.payment_id<br>```<br><br>```<br>transactions.payment_id = invoices.payments_and_credits.payment_id<br>``` |
| [price_points](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#price-points) | ```<br>transactions.component_id = price_points.component_id<br>```<br><br>```<br>transactions.component_id = price_points.prices.component_id<br>``` |
| [statements](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#statements) | ```<br>transactions.component_id = statements.transactions.component_id<br>```<br><br>```<br>transactions.customer_id = statements.transactions.customer_id<br>```<br><br>```<br>transactions.product_id = statements.events.event.event_specific_data.product_id<br>```<br><br>```<br>transactions.product_id = statements.transactions.product_id<br>```<br><br>```<br>transactions.statement_id = statements.id<br>```<br><br>```<br>transactions.statement_id = statements.transactions.statement_id<br>```<br><br>```<br>transactions.subscription_id = statements.events.event.subscription_id<br>```<br><br>```<br>transactions.subscription_id = statements.subscription_id<br>```<br><br>```<br>transactions.subscription_id = statements.transactions.subscription_id<br>```<br><br>```<br>transactions.id = statements.transactions.id<br>```<br><br>```<br>transactions.parent_id = statements.transactions.id<br>```<br><br>```<br>transactions.payment_id = statements.transactions.id<br>``` |
| [customers](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#customers) | ```<br>transactions.customer_id = customers.id<br>```<br><br>```<br>transactions.customer_id = customers.parent_id<br>``` |
| [subscriptions](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#subscriptions) | ```<br>transactions.customer_id = subscriptions.credit_card.customer_id<br>```<br><br>```<br>transactions.customer_id = subscriptions.customer.id<br>```<br><br>```<br>transactions.product_id = subscriptions.next_product_id<br>```<br><br>```<br>transactions.product_id = subscriptions.product.id<br>```<br><br>```<br>transactions.subscription_id = subscriptions.id<br>```<br><br>```<br>transactions.id = subscriptions.signup_payment_id<br>```<br><br>```<br>transactions.parent_id = subscriptions.signup_payment_id<br>```<br><br>```<br>transactions.payment_id = subscriptions.signup_payment_id<br>```<br><br>```<br>transactions.id = subscriptions.stored_credential_transaction_id<br>```<br><br>```<br>transactions.parent_id = subscriptions.stored_credential_transaction_id<br>```<br><br>```<br>transactions.payment_id = subscriptions.stored_credential_transaction_id<br>``` |
| [events](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#events) | ```<br>transactions.product_id = events.event_specific_data.product_id<br>```<br><br>```<br>transactions.subscription_id = events.subscription_id<br>```<br><br>```<br>transactions.id = events.event_specific_data.account_transaction_id<br>```<br><br>```<br>transactions.parent_id = events.event_specific_data.account_transaction_id<br>```<br><br>```<br>transactions.payment_id = events.event_specific_data.account_transaction_id<br>``` |
| [products](https://help.qlik.com/en-US/stitch/integrations/saas/chargify#products) | ```<br>transactions.product_id = products.id<br>``` |

transactions table schema

| **amount\_in\_cents**<br><br><br>INTEGER |
| --- |
| **card\_expiration**<br><br><br>STRING |
| **card\_number**<br><br><br>STRING |
| **card\_type**<br><br><br>STRING |
| **component\_handle**<br><br><br>STRING |
| **component\_id**<br><br><br>INTEGER |
| **component\_price\_point\_handle**<br><br><br>STRING |
| **component\_price\_point\_id**<br><br><br>INTEGER |
| **created\_at**<br><br><br>DATE-TIME |
| **customer\_id**<br><br><br>INTEGER |
| **ending\_balance\_in\_cents**<br><br><br>INTEGER |
| **gateway\_order\_id**<br><br><br>NUMBER |
| **gateway\_transaction\_id**<br><br><br>STRING |
| **gateway\_used**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **item\_name**<br><br><br>STRING |
| **kind**<br><br><br>STRING |
| **memo**<br><br><br>STRING |
| **parent\_id**<br><br><br>INTEGER |
| **payment\_id**<br><br><br>INTEGER |
| **period\_range\_end**<br><br><br>STRING |
| **period\_range\_start**<br><br><br>STRING |
| **price\_point\_handle**<br><br><br>STRING |
| **price\_point\_id**<br><br><br>INTEGER |
| **product\_id**<br><br><br>INTEGER |
| **refunded\_amount\_in\_cents**<br><br><br>INTEGER |
| **role**<br><br><br>STRING |
| **starting\_balance\_in\_cents**<br><br><br>INTEGER |
| **statement\_id**<br><br><br>INTEGER |
| **subscription\_id**<br><br><br>INTEGER |
| **success**<br><br><br>BOOLEAN |
| **tax\_id**<br><br><br>INTEGER |
| **transaction\_type**<br><br><br>STRING |
| **type**<br><br><br>STRING |