This integration is powered by Singer's Stripe tap and certified by Stitch. Check out and contribute to the repo on GitHub.
For support, contact Stitch support.
Stripe integration summary
Stitch’s Stripe integration replicates data using the Stripe REST API. Refer to the Schema section for a list of objects available for replication.
Stripe feature snapshot
A high-level look at Stitch's Stripe (v1) integration, including release status, useful links, and the features supported in Stitch.
STITCH | |||
Release status |
Released on December 1, 2018 |
Supported by | |
Stitch plan |
Standard |
API availability |
Not available |
Singer GitHub repository | |||
REPLICATION SETTINGS | |||
Anchor Scheduling |
Supported |
Advanced Scheduling |
Supported |
Table-level reset |
Unsupported |
Configurable Replication Methods |
Unsupported |
DATA SELECTION | |||
Table selection |
Supported |
Column selection |
Supported |
Select all |
Supported |
||
TRANSPARENCY | |||
Extraction Logs |
Supported |
Loading Reports |
Supported |
Connecting Stripe
Stripe setup requirements
To set up Stripe in Stitch, you need:
-
Administrator permissions in Stripe. This is required to grant Stitch access to Stripe.
Step 1: Add Stripe as a Stitch data source
- Sign into your Stitch account.
-
On the Stitch Dashboard page, click the Add Integration button.
-
Click the Stripe icon.
-
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 Stripe” would create a schema called
stitch_stripe
in the destination. Note: Schema names cannot be changed after you save the integration.
Step 2: Define the historical replication start date
The Sync Historical Data setting defines the starting date for your Stripe integration. This means that:
- For tables using Key-based Incremental Replication, data equal to or newer than this date will be replicated to your destination.
- For tables using Full Table Replication, all data - including records that are older, equal to, or newer than this date - will be replicated to your destination.
Change this setting if you want to replicate data beyond Stripe’s default setting of 1 year. For a detailed look at historical replication jobs, check out the Syncing Historical SaaS Data guide.
Step 3: Create a replication schedule
In the Replication Frequency section, you’ll create the integration’s replication schedule. An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.
Stripe integrations support the following replication scheduling methods:
-
Advanced Scheduling using Cron (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 for tips on reducing your usage.
Step 4: Authorize Stitch to access Stripe
- Next, you’ll be prompted to sign into your Stripe account.
- A screen explaining what you’re authorizing will display. Note: Stitch will only ever read your Stripe data, and cannot create charges or any other records in Stripe.
- Click Sign in with Stripe to connect.
- Sign into your Stripe account.
- After the authorization process is successfully completed, you’ll be directed back to Stitch.
- Click All Done.
Step 5: Set objects to replicate
The last step is to select the tables and columns you want to replicate. Learn about the available tables for this integration.
Note: If a replication job is currently in progress, new selections won’t be used until the next job starts.
For Stripe integrations, you can select:
-
Individual tables and columns
-
All tables and columns
Click the tabs to view instructions for each selection method.
- In the integration’s Tables to Replicate tab, locate a table you want to replicate.
-
To track a table, click the checkbox next to the table’s name. A blue checkmark means the table is set to replicate.
-
To track a column, click the checkbox next to the column’s name. A blue checkmark means the column is set to replicate.
- Repeat this process for all the tables and columns you want to replicate.
- When finished, click the Finalize Your Selections button at the bottom of the screen to save your selections.
- Click into the integration from the Stitch Dashboard page.
-
Click the Tables to Replicate tab.
- In the list of tables, click the box next to the Table Names column.
-
In the menu that displays, click Track all Tables and Fields:
- 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 Stripe, 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.
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 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.
Stripe replication
Events table replication
Stripe will only provide 30 days of historical event data for the events
table. Refer the the Stripe docs for more information about the events
table.
Objects and events
In the Stripe API, there are two concepts:
- Objects, which are items like charges, invoices, customers, etc.
- Events, which are changes to objects. For example: An invoice being created, or its status going from
draft
toopen
.
Whenever an object is created or updated in Stripe, a corresponding event is created. Because Stripe creates and updates object records in this way, there are two types of tables in Stitch’s Stripe integration:
- A table for events, which contains all events that have occurred for Stripe’s supported event types. This table acts as a history for an object record, showing how it has been changed over time.
- Tables for objects, which contains the latest version of records. These are tables like
customers
,charges
,invoices
, etc.
Note: Updates based on events is only applicable to the type of object the event is for. For example: If a dispute object is updated, only the corresponding record in the disputes
table will be updated. The related charge
in the charges
table will not be updated. To retrieve related data for different objects, you’ll need to use the events
table. Refer to Stripe’s documentation for info about event types and the objects they describe.
Example event and object data replication over time
In the image below is an example of how records for the events
and invoices
tables will look as an invoice changes over time. Click the image to enlarge.
Stripe table reference
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.
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
> customers
), while case is maintained in PostgreSQL destinations (CusTomERs
> CusTomERs
). Refer to the Loading Guide for your destination for more info.
balance_transactions
Replication Method : |
Key-based Incremental |
Replication Key |
created |
Primary Key |
id |
API endpoint : |
The balance_transactions
table contains info about transactions have have contributed to your Stripe account balance, including charges, transfers, etc.
id
The balance transaction ID. Reference: |
|||||
created
The time at which the object was created. Measured in seconds since the Unix epoch. |
|||||
amount
The gross amount of the transaction, in cents. |
|||||
available_on
The date the transaction’s net funds will become available in the Stripe balance. |
|||||
currency
The three-letter ISO currency code. |
|||||
description
An arbitrary string attached to the object. Often useful for displaying to users. |
|||||
exchange_rate
The exchange rate for the |
|||||
fee
The fees (in cents) paid for this transaction. |
|||||
fee_details
Detailed breakdown of fees (in cents) paid for this transaction.
|
|||||
net
Net amount of the transaction, in cents. |
|||||
object
The type of Stripe object. This will be |
|||||
source
The Stripe object to which this transaction is related. |
|||||
sourced_transfers
|
|||||
status
Indicates if the transaction’s net funds are available in the Stripe. Possible values are |
|||||
type
The type of the transaction. Refer to Stripe’s documentation for a list of possible values. |
|||||
updated
The time at which the balance transaction was last updated. |
charges
Replication Method : |
Key-based Incremental |
Replication Key |
created |
Primary Key |
id |
API endpoint : |
The charges
table contains info about charges to credit and debit cards.
id
The charge ID. Reference: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created
Time at which the object was created. Measured in seconds since the Unix epoch. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
amount
A positive integer in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ÂĄ100, a zero-decimal currency) representing how much to charge. The minimum amount is $0.50 USD or equivalent in charge currency. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
amount_captured
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
amount_refunded
Amount in cents refunded (can be less than |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
application
The ID of the Connect application that created the charge. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
application_fee
The application fee (if any) for the charge. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
application_fee_amount
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
balance_transaction
The ID of the balance transaction that describes the impact of this charge on the Stripe account. Reference: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
billing_details
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
calculated_statement_descriptor
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
captured
If the charge was created without capturing, this attribute will indicate whether it’s still uncaptured or has since been captured. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
card
Details about the credit or debit card that is the source of the charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
currency
The three-letter ISO currency code. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
customer
The ID of the customer associated with the charge. Reference: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description
An arbitrary string attached to the object. Often useful for displaying to users. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
destination
The account (if any) the charge was made on behalf of, with an automatic transfer. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dispute
Details about the dispute, if the charge has been disputed. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
disputed
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
failure_code
The error code explaining the reason for a charge failure, if available. Refer to Stripe’s documentation for a list of possible error codes. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
failure_message
The message that displays to the user that further explains the reason for the charge failure. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fraud_details
Details about fraud assessments for the charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
invoice
The ID of the invoice the charge is for. Reference: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
livemode
Indicates if the object exists in live mode ( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
metadata
Additional information attached to the charge. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object
The type of Stripe object. This will be |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
on_behalf_of
The account the charge was made on behalf of without triggering an automatic transfer. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
order
The ID of the order this charge is for. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
outcome
Details about whether the payment was accepted and why.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
paid
Indicates if the charge succeeded ( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
payment_intent
The ID of the payment intent associated with the charge. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
payment_method
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
payment_method_details
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
receipt_email
The email address that the receipt for the charge was sent to. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
receipt_number
The transaction number that appears on email receipts for the charge. This will be |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
receipt_url
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
refunded
Indicates if the charge has been fully refunded. If the charge is only partially refunded, this attribute will be |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
refunds
A list of refunds that have been applied to the charge. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
review
The ID of the review associated with the charge. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
shipping
The shipping information for the charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
source
Details about the credit or debit card that is the source of the charge.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
source_transfer
The transfer ID that created the charge. Only present if the charge came from another Stripe account. Reference: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
statement_description
Deprecated by Stripe. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
statement_descriptor
Additional information about the charge. This appears on the customer’s credit card statement. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
statement_descriptor_suffix
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status
The status of the payment. Possible values are:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
transfer_data
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
transfer_group
A string that identifies this transaction as part of a group. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
updated
The time at which the charge was last updated. |
coupons
Replication Method : |
Key-based Incremental |
Replication Key |
created |
Primary Key |
id |
API endpoint : |
The coupons
table contains info about percent or amount-off discounts that may be applied to a customer. Note: Coupons only apply to invoices; they don’t apply to one-off charges.
id
The coupon ID. Reference: |
|
created
Time at which the object was created. Measured in seconds since the Unix epoch. |
|
amount_off
The amount (in the |
|
currency
The three-letter ISO currency code of the amount to take off ( |
|
duration
Indicates how long a customer who applies this coupon will get the discount. Possible values are:
|
|
duration_in_months
Indicates the number of months the coupon applies if |
|
livemode
Indicates if the coupon exists in live mode ( |
|
max_redemptions
The maximum number of times this coupon can be redeemed in total across all customers before it is no longer valid. |
|
metadata
|
|
name
The name of the coupon as it is displayed to customers. |
|
object
The type of Stripe object. This will be |
|
percent_off
The percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon. |
|
percent_off_precise
|
|
redeem_by
The date after which the coupon can no longer be redeemed. |
|
times_redeemed
The number of times this coupon has been applied to a customer. |
|
updated
The time at which the coupon was last updated. |
|
valid
Taking into account all of the other coupon properties, indicates whether this coupon can still be applied to a customer. |
customers
Replication Method : |
Key-based Incremental |
Replication Key |
created |
Primary Key |
id |
API endpoint : |
The customers
table contains info about your customers.
id
The customer ID. Reference: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
address
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
balance
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created
Time at which the object was created. Measured in seconds since the Unix epoch. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
account_balance
The current balance, if any, being stored on the customer’s account. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cards
Details about the customer’s cards.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
currency
The three-letter ISO currency code the customer can be charged in for recurring billing purposes. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
default_card
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
default_source
The ID of the default source attached to this customer. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
delinquent
When the customer’s latest invoice is billed by charging automatically, this will be When the customer’s latest invoice is billed by sending an invoice, this will be |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description
The description of the customer. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
discount
Describes the current discount active on the customer.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
discounts
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
email
The customer’s email address. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
invoice_prefix
The prefix used to generate unique invoice numbers for the customer. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
invoice_settings
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
livemode
Indicates if the customer exists in live mode ( |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
name
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
metadata
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
next_invoice_sequence
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object
The type of Stripe object. This will be |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
phone
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
preferred_locales
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
shipping
Mailing and shipping addresses for the customer. Appears on invoices emailed to this customer.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sources
The customer’s payment sources.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
subscriptions
The customer’s current subscriptions. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tax_info
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tax_info_verification
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tax_exempt
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tax_rates
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
unit_amount_decimal
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
updated
The time at which the customer was last updated. |
disputes
Replication Method : |
Key-based Incremental |
Replication Key |
created |
Primary Key |
id |
API endpoint : |
This table contains information about customer disputes related to charges on their credit card.
id
The dispute ID. Reference: |
|||||||||||||||||||||||||||
created
Time at which the dispute was created. Measured in seconds since the Unix epoch. |
|||||||||||||||||||||||||||
amount
The disputed amount of money. |
|||||||||||||||||||||||||||
balance_transactions
A list of zero, one, or two balance transactions that show funds withdrawn and reinstated to a Stripe account as a result of the dispute.
|
|||||||||||||||||||||||||||
charge
The ID of the disputed charge. Reference: |
|||||||||||||||||||||||||||
currency
The three-letter ISO currency code of the disputed charge. |
|||||||||||||||||||||||||||
evidence
|
|||||||||||||||||||||||||||
evidence_details
Information about the evidence submitted.
|
|||||||||||||||||||||||||||
is_charge_refundable
Whether or not the disputed charge is refundable. |
|||||||||||||||||||||||||||
livemode
Has the value |
|||||||||||||||||||||||||||
metadata
A set of key-value pairs that you can attach to an object. |
|||||||||||||||||||||||||||
object
The object type. In this table, the value is |
|||||||||||||||||||||||||||
reason
The reason given by the cardholder for the dispute. Possible values are:
|
|||||||||||||||||||||||||||
status
The current status of the dispute. Possible values are:
|
|||||||||||||||||||||||||||
updated
The time at which the dispute was last updated. |
events
Replication Method : |
Key-based Incremental |
Replication Key |
created |
Primary Key |
id |
API endpoint : |
The events
table contains info about events. When an event occurs, a new event object is created. This table acts as the history of an object, allowing you to see how it has changed over time.
For example: When an invoice is created, an invoice.created
event is created. When the draft invoice is finalized and updated to be open, an invoice.finalized
event is created. When the invoice is sent to the customer, an invoice.sent
event is created.
For more info about this table and how data is replicated, refer to the Replication section. Additionally, refer to Stripe’s documentation for info about event types and the objects they describe.
id
The event ID. Reference: |
created
The time at which the object was created. Measured in seconds since the Unix epoch. |
data
This object contains details about the event, relevant to the event’s For example: For an Note: To join specific events with the corresponding object record, this attribute must be set to replicate. It contains the object’s |
livemode
Indicates if the object exists in live mode ( |
object
The type of Stripe object. This will be |
pending_webhooks
The number of webhooks that have yet to be successfully delivered to the URLs you’ve specified. |
request
The info on the API request that triggered the event. |
type
The description of the event. For example: |
updated
The time at which the object was last updated. |
invoices
Replication Method : |
Key-based Incremental |
Replication Key |
date |
Primary Key |
id |
API endpoint : |
The invoices
table contains info about invoices. Invoices are statements of amounts owed by customers, which can be one-off charges or generated periodically from a subscription.
Invoice line items
Full records for the line items associated with an invoice can be found in the invoice_line_items
table. To replicate these records, you must set this table and the invoice_line_items
table to replicate.
id
The invoice ID. Reference: |
|||||||||
account_name
|
|||||||||
account_tax_ids
|
|||||||||
date
The time at which the invoice was created. Measured in seconds since the Unix epoch. |
|||||||||
amount_due
The final amount due at the time of the invoice. |
|||||||||
amount_paid
The amount (in cents) that was paid. |
|||||||||
amount_remaining
The amount remaining (in cents) that is due. |
|||||||||
application_fee
The fee (in cents) that will be applied to the invoice and transfered to the application owner’s Stripe account when the invoice is paid. |
|||||||||
attempt_count
The number of payment attempts made for this invoice, from the perspective of the payment retry schedule. |
|||||||||
attempted
Indicates whether an attempt has been made to pay the invoice. |
|||||||||
auto_advance
Indicates whether Stripe will perform automatic collection of the invoice. |
|||||||||
billing
The type of billing action performed by Stripe to pay the invoice. Possible values are:
|
|||||||||
billing_reason
Indicates why the invoice was created. Possible values are:
|
|||||||||
charge
The ID of the latest charge generated for this invoice. Reference: |
|||||||||
closed
Deprecated by Stripe. |
|||||||||
collection_method
|
|||||||||
created
|
|||||||||
currency
The three-letter ISO currency code. |
|||||||||
customer
The ID of the customer associated with the invoice. Reference: |
|||||||||
customer_address
|
|||||||||
customer_email
|
|||||||||
customer_name
|
|||||||||
customer_phone
|
|||||||||
customer_shipping
|
|||||||||
customer_tax_ids
|
|||||||||
customer_tax_exempt
|
|||||||||
date
|
|||||||||
default_payment_method
|
|||||||||
default_source
|
|||||||||
default_tax_rates
|