Skip to main content
Adyen → BigQueryIntegration guide

Connecting Adyen to BigQuery

Adyen is enterprise payments across many countries and methods at once, which makes its strength — breadth of local payment methods — the thing that complicates measurement. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the Adyen payment before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Adyen to BigQuery: notifications and settlement reports, joined

Land every Adyen notification as a raw BigQuery row, including eventCode, success, pspReference, originalReference, merchantReference, merchant account, minor-unit amount, currency and the click-identifier metadata, and load settlement reports separately. Join on pspReference and merchantReference, deduplicate on pspReference plus eventCode plus success, and convert amounts in a view by currency exponent.

BigQuery is where Adyen's split between authorisation, capture and settlement can be kept intact instead of flattened into one number. Land every standard notification as a raw row: eventCode, success, pspReference, originalReference, merchantReference, merchantAccountCode, amount and currency, plus the metadata you attached at payment creation, which is where the click identifiers live. Then load Adyen's settlement reports separately (check the report names in your Customer Area) so the warehouse holds both the moment the customer paid and the moment the money arrived.

The join keys are pspReference for notification-to-settlement and merchantReference for payment-to-order. Refunds and chargebacks point back to the original payment through originalReference, so net revenue per order becomes a group-by instead of a guess. Adyen retries notifications it believes failed, and streaming inserts are at-least-once, so deduplicate on pspReference plus eventCode plus success before anything aggregates.

Store amounts as integers in minor units with the currency code beside them, and convert in a view using each currency's exponent; never store a float calculated at load time. Keep merchant account as a column, because a business running US and EU accounts needs every query to say which one it means. With gclid, fbclid and ttclid stored per payment, this table becomes the source you later send to ad platforms, and the place you can prove that redirect methods lost conversions in the browser but not here.

Adyen → BigQuery · what breaks

Why this join usually fails — Adyen → BigQuery

  1. 01

    Whatever join key you decide on never reaches Adyen

    Many of Adyen's local payment methods redirect the shopper away — iDEAL, Bancontact, Klarna, various wallets — and a share never return to your confirmation page. Anything page-based loses exactly the payment methods that dominate in some markets.

  2. 02

    Local payment methods that redirect away

    In several European markets the dominant method sends the shopper to a bank or wallet and a real share never come back. Page-based tracking loses them entirely and the loss is concentrated in specific countries.

  3. 03

    The warehouse quietly disagreeing with every platform

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  4. 04

    Nothing reconciles afterwards

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Adyen → BigQuery · the fix

What working looks like — Adyen → BigQuery

  • Whatever join key you decide on on every payment

  • Conversions arriving in BigQuery

    The row lands in a table you own, joinable to every other table you own, with no window and no expiry.

  • Reconciled against the source

Adyen → BigQuery · architecture

How Adyen and BigQuery actually connect

  1. 1

    Adyen holds the truth

    Adyen separates authorisation, capture and settlement, and runs multiple merchant accounts across regions. Which account and which state a number came from has to be stated or the figures will never reconcile.

  2. 2

    BigQuery needs a click to match

    BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.

  3. 3

    The identifier is the bridge

    Whatever join key you decide on, captured at the visit and carried into the Adyen payment.

  4. 4

    The event source decides reliability

    Fire on AUTHORISATION success with capture confirmed, from your server. Redirect-based methods mean the confirmation page is not a reliable trigger in this stack.

  5. 5

    Deduplication at the destination

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

Adyen → BigQuery · normal or broken

Working vs. broken, side by side — Adyen → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the payment

  • Sent from the Adyen standard notification webhook

  • Deduplicated correctly

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

  • Reconciles with the source

Actually broken

  • Whatever join key you decide on missing on most records

    Many of Adyen's local payment methods redirect the shopper away — iDEAL, Bancontact, Klarna, various wallets — and a share never return to your confirmation page. Anything page-based loses exactly the payment methods that dominate in some markets.

  • Sent from the browser

    In several European markets the dominant method sends the shopper to a bank or wallet and a real share never come back. Page-based tracking loses them entirely and the loss is concentrated in specific countries.

  • Counted twice, or not at all

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  • Nobody has reconciled it

Adyen → BigQuery · diagnose

Diagnostic order — Adyen → BigQuery

  1. 01

    Count payments carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare authorised payments against confirmation-page loads by payment method

    The gap will be concentrated in the redirect methods, which tells you both the size of the problem and where it is.

  4. 04

    Reconcile warehouse order counts against each platform for one closed window

    The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.

  5. 05

    Read the match rate, not the success message

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Adyen → BigQuery · prove

How it gets proven — Adyen → BigQuery

Source of truth

Adyen's settled payments by settlement date, per merchant account and currency.

  • Whatever join key you decide on confirmed present on a live payment.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • A payment made with a redirect method, abandoned at the return step, confirmed to still report.

Adyen → BigQuery · free audit

What we check in the free audit

  • Count payments carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Compare authorised payments against confirmation-page loads by payment method
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Adyen's settled payments by settlement date, per merchant account and currency.

Get my free conversion tracking audit

Free30 minutesNo obligation

Adyen → BigQuery · when not to buy

When you don't need this — Adyen → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry whatever join key you decide on.
  • If you sell in one market on cards only, most of Adyen's complexity does not apply and a simpler approach is fine.
  • If you have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.

Adyen → BigQuery · what we deliver

What gets built — Adyen → BigQuery

  • Identifier capture into Adyen

    Pass the click identifier in the payment request's metadata or shopper reference when your server creates the payment session, so it survives the redirect and reaches the webhook.

  • Event source: the Adyen standard notification webhook

    Fire on AUTHORISATION success with capture confirmed, from your server. Redirect-based methods mean the confirmation page is not a reliable trigger in this stack.

  • Dispatch to BigQuery

    Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.

  • Reversals where they exist

    Refunds, cancellations and chargebacks all arrive as notifications carrying the original reference.

Written guarantee

95%+ tracking accuracy

Measured against Adyen's settled payments by settlement date, per merchant account and currency.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Adyen → BigQuery questions, answered

merchantReference, which you set to your order ID when creating the payment. Use pspReference to tie notifications to settlement report rows, and originalReference to tie refunds back to their payment.

Free · 30 min

Get Adyen and BigQuery joined properly

Free30 minutesNo obligation