Skip to main content
Affirm → Customer.ioIntegration guide

Connecting Affirm to Customer.io

Affirm is longer-term financed BNPL, typically on higher-ticket items, which adds a credit decision between the checkout and the sale. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the Affirm charge before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Affirm to Customer.io: campaigns keyed to each payment stage

Send Affirm's authorized, captured and voided states as separate Customer.io events against your customer ID or email, with the charge ID, value and payment method attached. Condition abandoned-checkout campaigns on payment method so Affirm shoppers get different copy, keep declines off profiles, and route Affirm sandbox traffic to a separate workspace.

An Affirm order has three states a Customer.io campaign can react to, authorized, captured and voided, and most setups send only one, then wonder why messages misfire. Send each as its own event against the person identifier, usually your customer ID or email, carrying the Affirm charge ID, order value and payment method as attributes, so every campaign can check which stage it is reacting to.

The abandoned-checkout campaign is where Affirm does the most damage. A shopper who chose Affirm and was not approved never produces an order, so they fall straight into the "you left something behind" email. Add a condition on the selected payment method and give those shoppers a different message, another way to pay, or none. Do not put the decline itself on the profile; it is credit information, and your store often cannot tell a decline from a shopper who simply closed Affirm's window.

Testing needs extra care here. Affirm's sandbox produces realistic orders, and if a staging store points at the live Customer.io workspace, test authorizations send real confirmation emails to whatever address the tester typed, or to a real customer if test data was copied from production. Use a separate workspace for sandbox traffic and switch only the production store to the live one.

Affirm → Customer.io · what breaks

Why this join usually fails — Affirm → Customer.io

  1. 01

    The person identifier you assign 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.

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

  3. 03

    A test event sending a real email

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  4. 04

    Nothing reconciles afterwards

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

Affirm → Customer.io · the fix

What working looks like — Affirm → Customer.io

  • The person identifier you assign on every order

  • Conversions arriving in Customer.io

    The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.

  • Reconciled against the source

Affirm → Customer.io · architecture

How Affirm and Customer.io actually connect

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

    Customer.io needs a click to match

    Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.

  3. 3

    The identifier is the bridge

    The person identifier you assign, captured at the visit and carried into the Affirm charge.

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

    Deduplication at the destination

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

Affirm → Customer.io · normal or broken

Working vs. broken, side by side — Affirm → Customer.io

Normal, not a fault

  • The person identifier you assign present on the order

  • Sent from your store's order webhook, on Affirm charge capture

  • Deduplicated correctly

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

  • Reconciles with the source

Actually broken

  • The person identifier you assign 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

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  • Nobody has reconciled it

Affirm → Customer.io · diagnose

Diagnostic order — Affirm → Customer.io

  1. 01

    Count orders carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

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

  4. 04

    Confirm which workspace you are writing to before sending anything

    Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.

  5. 05

    Read the match rate, not the success message

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

Affirm → Customer.io · prove

How it gets proven — Affirm → Customer.io

Source of truth

Your store's orders financed through Affirm, cross-checked against Affirm's settlement.

  • The person identifier you assign confirmed present on a live order.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • An approved Affirm order confirmed to report and a declined one confirmed not to.

Affirm → Customer.io · free audit

What we check in the free audit

  • Count orders carrying the person identifier you assign
  • Follow one real conversion end to end
  • Compare Affirm checkouts started, approved and captured
  • Confirm which workspace you are writing to before sending anything
  • Read the match rate, not the success message

Checked against

Your store's orders financed through Affirm, cross-checked against Affirm's settlement.

Get my free conversion tracking audit

Free30 minutesNo obligation

Affirm → Customer.io · when not to buy

When you don't need this — Affirm → Customer.io

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the person identifier you assign.
  • If your average order value is low, Affirm is a poor fit for the payment method and the integration follows that.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

Affirm → Customer.io · what we deliver

What gets built — Affirm → Customer.io

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

    The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.

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

Get my free conversion tracking audit

From $400 · See packages

FAQ

Affirm → Customer.io questions, answered

Declined or abandoned Affirm applications produce no order, so the abandoned-checkout campaign treats them like any other cart. Add a payment-method condition and handle them separately, or exclude them.

Free · 30 min

Get Affirm and Customer.io joined properly

Free30 minutesNo obligation