Connecting Affirm to Snowflake
Affirm is longer-term financed BNPL, typically on higher-ticket items, which adds a credit decision between the checkout and the sale. 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 Affirm charge 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
Affirm to Snowflake: reconciling orders against Affirm settlement
Load store orders with the Affirm charge ID, the webhook lifecycle and Affirm settlement data into Snowflake, joined on charge ID, to reconcile uncaptured orders, partial refunds and settlement gaps. Keep sent click identifiers and event IDs per order to check ad platforms. Pick authorization or capture date everywhere, restrict credit outcomes, and dedupe on charge ID and event type.
Snowflake is the one destination here where Affirm data is useful in full, because it is your own warehouse and the job is reconciliation rather than attribution. Load three things: your store's orders with payment method and the Affirm charge ID, the Affirm lifecycle from your webhooks (authorized, captured, voided, refunded), and Affirm's settlement data as you receive it. Joined on the charge ID, they show authorized-but-never-captured orders, partial refunds and settlements that differ from order totals.
That join is also where ad platforms get checked. Each destination you send Affirm orders to reports its own number; the warehouse is where you compare them against captured, unrefunded revenue for a closed window. Keep the click identifiers and event IDs you sent alongside each order, so a discrepancy can be traced to specific orders rather than argued about in totals.
Two modeling choices are particular to Affirm. Decide which date an Affirm order belongs to, authorization or capture, and use it everywhere, because capture at shipment can move a month-end order into the next month. And keep credit outcomes in a restricted schema if you store them at all; the tables most people query should carry payment method, not approvals or declines. Webhook loads arrive at least once, so deduplicate on charge ID and event type before anything reports from them.
Affirm → Snowflake · what breaks
Why this join usually fails — Affirm → Snowflake
- 01
Whatever join key both parties agree on, usually a hashed identifier never reaches Affirm
The shopper leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site.
- 02
A credit decision inside the checkout
Declines are real volume that reached checkout and produced nothing. Counting checkout starts rather than captured charges overstates performance by the decline rate.
- 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.
Affirm → Snowflake · the fix
What working looks like — Affirm → Snowflake
Whatever join key both parties agree on, usually a hashed identifier on every order
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
Affirm → Snowflake · architecture
How Affirm and Snowflake actually connect
- 1
Affirm holds the truth
Affirm runs a real credit decision, so a shopper who reaches checkout may be declined. The order only exists if the financing was approved and captured.
- 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 Affirm charge.
- 4
The event source decides reliability
Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
- 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.
Affirm → Snowflake · normal or broken
Working vs. broken, side by side — Affirm → Snowflake
Normal, not a fault
Whatever join key both parties agree on, usually a hashed identifier present on the order
Sent from your store's order webhook, on Affirm charge capture
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
The shopper leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site.
Sent from the browser
Declines are real volume that reached checkout and produced nothing. Counting checkout starts rather than captured charges overstates performance by the decline rate.
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
Affirm → Snowflake · diagnose
Diagnostic order — Affirm → Snowflake
- 01
Count orders carrying whatever join key both parties agree on, usually a hashed identifier
- 02
Follow one real conversion end to end
- 03
Compare Affirm checkouts started, approved and captured
The decline rate is a genuine cost of this payment method and it belongs in the report.
- 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.
Affirm → Snowflake · prove
How it gets proven — Affirm → Snowflake
Source of truth
Your store's orders financed through Affirm, cross-checked against Affirm's settlement.
- Whatever join key both parties agree on, usually a hashed identifier confirmed present on a live order.
- Row counts and revenue reconciled against each source system for a closed window, with duplicates checked on the join key and both definitions documented.
- An approved Affirm order confirmed to report and a declined one confirmed not to.
Affirm → Snowflake · free audit
What we check in the free audit
- Count orders carrying whatever join key both parties agree on, usually a hashed identifier
- Follow one real conversion end to end
- Compare Affirm checkouts started, approved and captured
- Write down both parties' conversion definitions before writing any query
- Read the match rate, not the success message
Checked against
Your store's orders financed through Affirm, cross-checked against Affirm's settlement.
Free30 minutesNo obligation
Affirm → Snowflake · when not to buy
When you don't need this — Affirm → Snowflake
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key both parties agree on, usually a hashed identifier.
- If your average order value is low, Affirm is a poor fit for the payment method and the integration follows that.
- 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.
Affirm → Snowflake · what we deliver
What gets built — Affirm → Snowflake
Identifier capture into Affirm
Capture the identifier before checkout and store it on the order, so approved financing is attributable regardless of the return journey.
Event source: your store's order webhook, on Affirm charge capture
Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
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
Refunds and cancelled financing both exist and should reduce the reported figure.
Written guarantee
95%+ tracking accuracy
Measured against Your store's orders financed through Affirm, cross-checked against Affirm's settlement.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Affirm → Snowflake questions, answered
Load orders, Affirm lifecycle events and settlement data into Snowflake, join on the Affirm charge ID, and compare captured, unrefunded revenue with what each platform reports for the same closed window.
Pick one and use it everywhere. Capture at shipment can move orders across month-end, so mixed dating makes every comparison disagree.
Almost always because whatever join key both parties agree on, usually a hashed identifier never reached the Affirm charge. The shopper leaves for Affirm's flow, is assessed, and returns only if approved. Both the redirect and the decline create paths where nothing fires on your site. 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.
Your store's order webhook, on Affirm charge capture. Fire on capture after approval, and tag the payment method — Affirm orders skew to higher ticket values that will distort a blended average.
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 Affirm → Snowflake
- Affirm → Google AdsConnecting Affirm to Google Ads
- Affirm → MetaConnecting Affirm to Meta Conversions API
- Affirm → GA4Connecting Affirm to GA4
Using Affirm for bookings? How Affirm bookings get tracked end to end
RELATED GUIDES
Where Affirm → Snowflake fits in the rest of your tracking
- Splitit → SnowflakeConnecting Splitit to Snowflake
- Acima → SnowflakeConnecting Acima to Snowflake
- Elavon → SnowflakeConnecting Elavon to Snowflake
- Affirm → BigQueryConnecting Affirm to BigQuery
- Affirm → SegmentConnecting Affirm to Segment
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Adyen → SnowflakeConnecting Adyen to Snowflake
- Mollie → SnowflakeConnecting Mollie to Snowflake
Free · 30 min
Get Affirm and Snowflake joined properly
Free30 minutesNo obligation
