Skip to main content
Stripe → PinterestIntegration guide

Connecting Stripe to Pinterest

Stripe knows exactly what was paid, by whom, and when — down to the cent, including the refund three weeks later. Pinterest is a save-now-buy-later platform, which makes its attribution window the loosest of any network here and its conversion data the most delayed. The join between them succeeds or fails on one thing: whether the epik click identifier reaches the Stripe Customer or PaymentIntent before the conversion happens, because Pinterest can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Stripe Checkout to Pinterest CAPI with epik in session metadata

Put the epik from the _epik cookie and a generated event_id into Stripe Checkout Session metadata, then send a checkout event to Pinterest from checkout.session.completed with amount_total converted from cents, currency, hashed email and the order ID, reusing the event_id the tag fires. Payment Links and Buy Buttons cannot carry either value, so they reach Pinterest only through the tag.

Pinterest plus Stripe usually means a small DTC brand selling products, prints or digital downloads through Stripe Checkout on a lightweight site with no store platform. The Pinterest tag on the success page sees only shoppers who come back from checkout.stripe.com, and Pinterest's delayed buyers often finish on another device. The server event is what makes Pinterest's numbers usable.

When your server creates the Checkout Session, put the epik from the first-party _epik cookie and a generated event_id into metadata. On checkout.session.completed, send a checkout event with amount_total and currency, hashed email from customer_details, and the session or order ID. Stripe amounts are integers in the smallest currency unit, so 4900 is $49.00; convert before sending.

The common break: shoppers return to the success page, the tag fires checkout with its own ID, and the webhook sends the same purchase without reading the event_id from metadata. Pinterest volumes are low enough that the doubling reads as a good week. Payment Links and Buy Buttons create sessions without your server, so neither epik nor event_id can be attached; those sales reach Pinterest only through the tag.

Stripe → Pinterest · what breaks

Why this join usually fails — Stripe → Pinterest

  1. 01

    The epik click 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.

  2. 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.

  3. 03

    The save-now-buy-later gap

    Pinterest's whole behaviour model is saving something for later. A share of the revenue it genuinely drives arrives months after the click and outside any attribution window, and no build changes that. Say it before anyone sets a target.

  4. 04

    Nothing reconciles afterwards

    Pinterest Ads Manager reports events received and their match status. A successful API call is not a matched conversion — reconcile Pinterest's reported conversions against your own records for the same window and expect a structural gap from the save-then-buy delay.

Stripe → Pinterest · the fix

What working looks like — Stripe → Pinterest

  • The epik click identifier on every payment

  • Conversions arriving in Pinterest

    Conversions appear in Pinterest Ads Manager against the campaign, with the value you sent, and become usable for optimization.

  • Reconciled against the source

Stripe → Pinterest · architecture

How Stripe and Pinterest actually connect

  1. 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. 2

    Pinterest needs a click to match

    Pinterest matches server events using the click identifier where present and hashed customer information otherwise. Confirm current endpoint and field names against Pinterest's own documentation — its Conversions API has been through more than one revision.

  3. 3

    The identifier is the bridge

    The epik click identifier, captured at the visit and carried into the Stripe Customer or PaymentIntent.

  4. 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. 5

    Deduplication at the destination

    Pinterest deduplicates on event_id, so the tag and the server event must carry the same value for the same conversion. Pinterest volumes are often low enough that a doubling reads as a good week rather than a bug, which is why this needs testing deliberately rather than assuming.

Stripe → Pinterest · normal or broken

Working vs. broken, side by side — Stripe → Pinterest

Normal, not a fault

  • The epik click identifier present on the payment

  • Sent from the Stripe webhook

  • Deduplicated correctly

    Pinterest deduplicates on event_id, so the tag and the server event must carry the same value for the same conversion. Pinterest volumes are often low enough that a doubling reads as a good week rather than a bug, which is why this needs testing deliberately rather than assuming.

  • Reconciles with the source

Actually broken

  • The epik click 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

    Pinterest's whole behaviour model is saving something for later. A share of the revenue it genuinely drives arrives months after the click and outside any attribution window, and no build changes that. Say it before anyone sets a target.

  • Nobody has reconciled it

Stripe → Pinterest · diagnose

Diagnostic order — Stripe → Pinterest

  1. 01

    Count payments carrying the epik click identifier

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Check the event delivery and match reporting in Pinterest Ads Manager

    Not the API response code. A 200 means Pinterest accepted the payload, not that it matched it to a click.

  5. 05

    Read the match rate, not the success message

    Pinterest Ads Manager reports events received and their match status. A successful API call is not a matched conversion — reconcile Pinterest's reported conversions against your own records for the same window and expect a structural gap from the save-then-buy delay.

Stripe → Pinterest · prove

How it gets proven — Stripe → Pinterest

Source of truth

The Stripe dashboard — Payments, filtered to succeeded, for the same window.

  • The epik click identifier confirmed present on a live payment.
  • Deduplication confirmed on a real conversion, and the attribution window your reporting uses stated explicitly.
  • A refunded payment confirmed to reverse, not just the sale confirmed to send.

Stripe → Pinterest · free audit

What we check in the free audit

  • Count payments carrying the epik click identifier
  • Follow one real conversion end to end
  • Open one succeeded PaymentIntent in the Stripe dashboard
  • Check the event delivery and match reporting in Pinterest Ads Manager
  • Read the match rate, not the success message

Checked against

The Stripe dashboard — Payments, filtered to succeeded, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

Stripe → Pinterest · when not to buy

When you don't need this — Stripe → Pinterest

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the epik click 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 Pinterest is a small test line on your media plan, the Conversions API is more work than the signal is worth this quarter.

Stripe → Pinterest · what we deliver

What gets built — Stripe → Pinterest

  • 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 Pinterest

    Server events to the Pinterest Conversions API with the click identifier, hashed customer data and a matched event_id.

  • 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Stripe → Pinterest questions, answered

Store epik and an event_id in the Checkout Session metadata at creation, then send a checkout event from the checkout.session.completed webhook with value, currency and hashed email.

Free · 30 min

Get Stripe and Pinterest joined properly

Free30 minutesNo obligation