Connecting Stripe to Snowflake
Stripe knows exactly what was paid, by whom, and when — down to the cent, including the refund three weeks later. Snowflake's distinguishing feature is that two organisations can join data without either copying it to the other, which turns measurement between partners from a legal negotiation into a query. The join between them succeeds or fails on one thing: whether whatever join key both parties agree on, usually a hashed identifier reaches the Stripe Customer or PaymentIntent before the conversion happens, because Snowflake can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Stripe in Snowflake: pipeline tables plus your own click IDs
Stripe's Data Pipeline can deliver charges, payment intents, customers, refunds and disputes into Snowflake, but click identifiers exist only if you wrote them into metadata at checkout. Pick one Stripe object to hold identifiers and document it. Decide whether gross charges or net settled balance transactions count as revenue, and subtract refunds against the original payment date.
Stripe offers a Data Pipeline product that delivers Stripe's own tables, including charges, payment intents, customers, refunds and disputes, into a Snowflake account, so the payment side of this pair rarely needs custom code. What it cannot deliver is anything Stripe never stored: if click identifiers and session IDs were not written into metadata at checkout, the warehouse holds the money and no way to tie it to marketing. Check that metadata arrives in a form you can query.
Joins to ad data run on those metadata keys, so decide where they live. A gclid set on the Checkout Session sits on a different object from one set on the PaymentIntent, and teams join the wrong table and conclude coverage is low. Pick one object to hold identifiers and document it for whoever writes the queries.
Stripe amounts are in the smallest currency unit and the charge currency, while balance transactions hold the settled amount after fees and conversion. Decide which one counts as revenue before a partner clean-room query; a media partner comparing against gross charges while you use net settled will disagree by fees and FX. Refunds and disputes sit in separate tables, and reconciled revenue subtracts them against the original payment date, not the refund date.
Stripe → Snowflake · what breaks
Why this join usually fails — Stripe → Snowflake
- 01
Whatever join key both parties agree on, usually a hashed identifier never reaches Stripe
Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.
- 02
Checkout is on Stripe's domain, so the browser loses the thread
The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.
- 03
A clean room that answers a question nobody agreed on
The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.
- 04
Nothing reconciles afterwards
Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.
Stripe → Snowflake · the fix
What working looks like — Stripe → Snowflake
Whatever join key both parties agree on, usually a hashed identifier on every payment
Conversions arriving in Snowflake
The row lands in a table you own, joinable to your own data and — through a share or clean room — to a partner's, without either party moving raw records.
Reconciled against the source
Stripe → Snowflake · architecture
How Stripe and Snowflake actually connect
- 1
Stripe holds the truth
Every succeeded PaymentIntent is a real conversion with a real amount and currency. No sampling, no modeling, no consent gate. This is the number the business actually banked, which is why it is the reference rather than anything either ad platform reports.
- 2
Snowflake needs a click to match
A schema both sides agree on, consistent types, and identifiers normalised identically before hashing. The failure mode is not rejection but silent divergence — a timestamp in the wrong zone or a trimmed-versus-untrimmed email produces answers that look plausible.
- 3
The identifier is the bridge
Whatever join key both parties agree on, usually a hashed identifier, captured at the visit and carried into the Stripe Customer or PaymentIntent.
- 4
The event source decides reliability
Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
- 5
Deduplication at the destination
Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.
Stripe → Snowflake · normal or broken
Working vs. broken, side by side — Stripe → Snowflake
Normal, not a fault
Whatever join key both parties agree on, usually a hashed identifier present on the payment
Sent from the Stripe webhook
Deduplicated correctly
Nothing deduplicates for you. Loads are at-least-once, so a retried pipeline creates duplicate rows and the only protection is a deduplication step you write and actually schedule.
Reconciles with the source
Actually broken
Whatever join key both parties agree on, usually a hashed identifier missing on most records
Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.
Sent from the browser
The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.
Counted twice, or not at all
The technology makes the join possible; it does not make the definitions match. Two organisations measuring the same campaign will disagree about what a conversion is, which window applies and whose attribution model governs — and the query will return a confident number for whichever set of assumptions got written into the SQL.
Nobody has reconciled it
Stripe → Snowflake · diagnose
Diagnostic order — Stripe → Snowflake
- 01
Count payments carrying whatever join key both parties agree on, usually a hashed identifier
- 02
Follow one real conversion end to end
- 03
Open one succeeded PaymentIntent in the Stripe dashboard
Look at its Metadata section. If the identifier is not there, nothing downstream can fix it — the join is broken at the source and every other check is wasted effort.
- 04
Write down both parties' conversion definitions before writing any query
Definition mismatch, not technology, is what makes most partner measurement projects produce numbers neither side trusts.
- 05
Read the match rate, not the success message
Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.
Stripe → Snowflake · prove
How it gets proven — Stripe → Snowflake
Source of truth
The Stripe dashboard — Payments, filtered to succeeded, for the same window.
- Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live payment.
- Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
- A refunded payment confirmed to reverse, not just the sale confirmed to send.
Stripe → Snowflake · free audit
What we check in the free audit
- Count payments carrying whatever join key both parties agree on, usually a hashed identifier
- Follow one real conversion end to end
- Open one succeeded PaymentIntent in the Stripe dashboard
- Write down both parties' conversion definitions before writing any query
- Read the match rate, not the success message
Checked against
The Stripe dashboard — Payments, filtered to succeeded, for the same window.
Free30 minutesNo obligation
Stripe → Snowflake · when not to buy
When you don't need this — Stripe → Snowflake
- Measure identifier coverage yourself first — pull your last hundred payments and count how many carry whatever join key both parties agree on, usually a hashed identifier.
- If you take payment through a hosted Payment Link or Buy Button and have no server creating sessions, this needs a development change on your side before any tracking work is worth commissioning. Worth knowing before you pay for tracking.
- If you have no partner to share data with and one cloud, a warehouse you already run does the same job. The sharing capability is what justifies this one.
Stripe → Snowflake · what we deliver
What gets built — Stripe → Snowflake
Identifier capture into Stripe
Read the click identifier from the landing page, persist it in a first-party cookie, and pass it into the create-session call as metadata. Stripe carries metadata onto the resulting PaymentIntent and Charge, so it survives to the webhook and to any later refund.
Event source: the Stripe webhook
Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
Dispatch to Snowflake
Batch or streaming loads from your order system, with the raw event retained alongside anything you derive from it.
Reversals where they exist
Stripe fires charge.refunded and charge.dispute.created. Both carry the original metadata, so a refund can be sent as a negative or a retraction wherever the destination supports it. Most setups never wire this and quietly overstate revenue by the refund rate.
Written guarantee
95%+ tracking accuracy
Measured against The Stripe dashboard — Payments, filtered to succeeded, for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Stripe → Snowflake questions, answered
Stripe's Data Pipeline delivers Stripe tables to Snowflake directly; a webhook loader or ETL connector is the alternative.
Because the click identifiers were never written into Stripe metadata at checkout. The warehouse can only join what Stripe stored.
Almost always because whatever join key both parties agree on, usually a hashed identifier never reached the Stripe Customer or PaymentIntent. Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created. Measure coverage before debugging the dispatch.
There is no vendor identifier. In a data share or clean room the key is negotiated: hashed email, order ID, a partner-supplied ID. Normalisation before hashing is the entire match rate, and a formatting difference between two organisations looks exactly like a poor-performing partnership.
The Stripe webhook. Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.
Snowflake will not tell you anything is wrong. Verify by querying against each party's own totals and checking for duplicate rows on the join key before trusting any aggregate.
More on Stripe → Snowflake
- Stripe Billing → SnowflakeConnecting Stripe Billing to Snowflake
- Stripe → Google AdsConnecting Stripe to Google Ads
- Stripe → MetaConnecting Stripe to Meta Conversions API
RELATED GUIDES
Where Stripe → Snowflake fits in the rest of your tracking
- PayPal → SnowflakeConnecting PayPal to Snowflake
- Stripe Billing → SnowflakeConnecting Stripe Billing to Snowflake
- Stripe → BigQueryConnecting Stripe to BigQuery
- Stripe → SegmentConnecting Stripe to Segment
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
- PayPal → SegmentConnecting PayPal to Segment
- PayPal → BigQueryConnecting PayPal to BigQuery
- Stripe Billing → BigQueryConnecting Stripe Billing to BigQuery
Free · 30 min
Get Stripe and Snowflake joined properly
Free30 minutesNo obligation
