Stripe is a payments platform that enables businesses to accept and manage online and in-person payments. It connects applications with banks and payment networks to securely process transactions and manage subscriptions, refunds, and payouts.
Stripe Environments
Stripe provides two separate environments for testing purposes and production use:
-
Sandbox: This environment is used for development and validation. You can simulate payments, refunds, and other activities without processing real transactions. Data created in a sandbox environment is isolated from live data and does not impact actual business operations.
-
Live mode: This environment is used for real payment processing and contains actual customer and transaction data. Live mode is typically used for reporting, reconciliation, and business analysis.
Hevo supports data replication from both live and sandbox modes. You can connect to the environment from which you want to ingest data by providing the API key associated with that environment.
Supported Features
| Feature Name | Supported |
|---|---|
| Capture deletes | Yes |
| History Mode | Yes (Subscription History) |
| Connected Accounts | Yes |
| Data blocking (skip objects and fields) | Yes |
| Resync (objects and Pipelines) | Yes |
| Authorization via API | Yes |
| API configurable | Yes |
Handling of Deletes
During each Pipeline run, Hevo compares the data fetched from the Source object with the data present in the Destination table. If a record exists in the Destination but is no longer returned by the Source, Hevo marks the record as deleted by setting the metadata column __hevo__marked_deleted to True. This applies only to the following objects, for which the complete data is ingested during each sync:
-
Account
-
Apple Pay Domain
-
Plan
-
Shipping Rate
For the following objects, deletes are captured via Stripe’s Events API. In such cases, Hevo marks the __hevo__marked_deleted column to True in the Destination.
| Object Category | Objects |
|---|---|
| Billing | Credit Note, Invoice, Invoice Item, Quote, Subscription Schedule |
| Checkout | Checkout Session |
| Connect | Application Fee, Person, Top-up, Transfer |
| Core Resources | Balance Transactions, Charge, Customer, Customer Tax, Dispute, File, File Link, Payment Intent, Payout, Refund, Setup Intent |
| Fraud | Early Fraud Warning, Review |
| Issuing | Authorization, Cardholder, Issuing Card, Issuing Dispute, Issuing Transaction, Issuing Personalization Design |
| Payment Methods | Cash Balance Transaction, Payment Method, Source |
| Products | Coupon, Price, Product, Promotion Code, Tax Rate |
For the following child objects, if a record is deleted at the Source and is no longer returned with its parent object’s data, it is automatically removed from the Destination.
| Object Category | Objects |
|---|---|
| Billing | Credit Note Line Item, Credit Note Line Item Tax Rate, Invoice Account Tax Id, Invoice Custom Field, Invoice Discount, Invoice Item Tax Rate, Invoice Line Item, Invoice Line Item Proration Details Credited Item, Invoice Tax Rate, Phase, Phase Plan, Quote Computed Upfront Line Item, Quote Line Item, Quote Tax Rate, Subscription Discount, Subscription Item, Subscription Tax Rate, Tax Amount |
| Checkout | Checkout Session Line Item, Checkout Session Line Item Discount, Checkout Session Line Item Tax Rate, Checkout Session Payment Method, Checkout Session Shipping Address Allowed Countries, Checkout Session Shipping Option, Checkout Session Tax Rate |
| Connect | Application Fee Refund, Transfer Reversal |
| Core Resources | Cash Balance, Charge Payment Method Details, Customer Balance Transaction, Customer Discount, Dispute Balance Transaction, Fee, Payout Balance Transaction, Setup Attempt |
| Issuing | Authorization Transaction, Issuing Physical Bundle |
| Payment Methods | AU BECS Debit, FPX, Ideal, Payment Method Card, SEPA Debit |
| Products | Coupon Product, Discount, Price Currency Option, Tier |
Source Considerations
-
Pausing a Pipeline for more than 30 days can lead to data loss because the Events API tracks updates and deletes for only the past 30 days. After that period, older changes are no longer available, and Hevo cannot retrieve them.
-
Metadata fields in Stripe consist of custom key-value pairs added to objects to store additional information. However, Stripe does not update the Events API when only metadata is updated. As Hevo relies on Stripe events to track incremental changes for objects such as Charge, Customer, and Subscription, metadata-only changes are not captured. These changes are synced only when a non-metadata field on the same object is updated.
For example, if you update only the
order_idin the metadata of a Charge, Stripe does not generate an event. As a result, Hevo does not update theorder_idin the Destination table. The updated metadata is synced only after a non-metadata field, such asdescription, is changed and triggers acharge.updatedevent.







