Skip to main content
GoCardless → BrazeIntegration guide

Connecting GoCardless to Braze

GoCardless is bank debit rather than card, which changes everything about timing — a mandate is set up now and money moves days later, repeatedly. Braze is mobile-first lifecycle messaging, which means it resolves to a user rather than to a click and its most valuable channels — push and in-app — exist nowhere near a browser. The join between them succeeds or fails on one thing: whether the Braze external user ID reaches the GoCardless mandate before the conversion happens, because Braze can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

GoCardless to Braze: payment-failed pushes without the duplicates

Send pending mandates, failed collections and bank-side cancellations from GoCardless webhooks to Braze on the external_id stored in mandate metadata. Drop repeated GoCardless event IDs, since Braze will not deduplicate. Include amount, charge date, failure reason and mandate status so messages fit the cause, consider automatic retries before messaging, and keep cancellation separate for win-back.

Braze earns its place with GoCardless on the moments bank debit creates that card billing does not: a mandate that is pending for days before it is usable, a collection that fails because the account is empty, and a mandate the customer cancelled at their bank. Each is a GoCardless webhook, and each should land on the user identified by the external_id you wrote into the mandate metadata at setup.

GoCardless retries webhook delivery, so the same "payment failed" event can arrive twice. Braze does not deduplicate, which means the customer gets two push notifications about one failed debit. Store processed GoCardless event IDs and drop repeats before calling Braze. Also decide which failures message the customer: if GoCardless is set to retry the collection automatically, a push on the first failure may ask someone to fix a problem that resolves itself a few days later.

Send event properties the campaign actually uses: amount, charge date, failure reason as GoCardless reports it, and whether the mandate itself is still active. A push saying "update your bank details" is wrong when the cause was insufficient funds and the mandate is fine. Keep mandate cancellation as its own event for win-back, separate from payment failures.

GoCardless → Braze · what breaks

Why this join usually fails — GoCardless → Braze

  1. 01

    The Braze external user ID never reaches GoCardless

    Bank debit has a mandatory notice period and a settlement lag measured in days, so the money event is always well after the click. The identifier must live on the mandate, because every subsequent payment references it rather than a browser session.

  2. 02

    Days between the signup and the money

    Bank debit is not instant. The mandate is agreed today and the first collection clears later, which puts every naive page-based conversion at the wrong moment and the wrong value.

  3. 03

    Duplicate events sending duplicate push notifications

    A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.

  4. 04

    Nothing reconciles afterwards

    Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.

GoCardless → Braze · the fix

What working looks like — GoCardless → Braze

  • The Braze external user ID on every mandate

  • Conversions arriving in Braze

    The event lands on the user profile, triggers whatever campaigns depend on it, and becomes available for segmentation across push, email and in-app.

  • Reconciled against the source

GoCardless → Braze · architecture

How GoCardless and Braze actually connect

  1. 1

    GoCardless holds the truth

    The mandate is the acquisition; each payment is a collection against it. A subscription business on direct debit should value the mandate, not the first collection.

  2. 2

    Braze needs a click to match

    Braze needs the external user ID and a well-named event with its properties. An event with no external ID lands on an anonymous device profile that may never merge with the real user.

  3. 3

    The identifier is the bridge

    The Braze external user ID, captured at the visit and carried into the GoCardless mandate.

  4. 4

    The event source decides reliability

    Send the mandate setup as acquisition at expected lifetime value, and treat individual collections as reporting rather than as new conversions.

  5. 5

    Deduplication at the destination

    Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.

GoCardless → Braze · normal or broken

Working vs. broken, side by side — GoCardless → Braze

Normal, not a fault

  • The Braze external user ID present on the mandate

  • Sent from the GoCardless payment confirmed webhook

  • Deduplicated correctly

    Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.

  • Reconciles with the source

Actually broken

  • The Braze external user ID missing on most records

    Bank debit has a mandatory notice period and a settlement lag measured in days, so the money event is always well after the click. The identifier must live on the mandate, because every subsequent payment references it rather than a browser session.

  • Sent from the browser

    Bank debit is not instant. The mandate is agreed today and the first collection clears later, which puts every naive page-based conversion at the wrong moment and the wrong value.

  • Counted twice, or not at all

    A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.

  • Nobody has reconciled it

GoCardless → Braze · diagnose

Diagnostic order — GoCardless → Braze

  1. 01

    Count mandates carrying the Braze external user ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the identifier is on the mandate or only the first payment

    If it is on the payment, no later collection can be attributed — and later collections are most of the revenue.

  4. 04

    Send a test purchase and read the user profile's event stream

    One event or two? Check whether the SDK is already sending the same event before adding a server source, and check that the external ID matches the signed-in user rather than creating a new profile.

  5. 05

    Read the match rate, not the success message

    Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.

GoCardless → Braze · prove

How it gets proven — GoCardless → Braze

Source of truth

GoCardless payments confirmed by charge date, against the mandate that authorised them.

  • The Braze external user ID confirmed present on a live mandate.
  • The user profile confirmed to show one event per conversion, with device and user profiles correctly merged.
  • A collection weeks after setup confirmed traceable to the original mandate and click.

GoCardless → Braze · free audit

What we check in the free audit

  • Count mandates carrying the Braze external user ID
  • Follow one real conversion end to end
  • Check whether the identifier is on the mandate or only the first payment
  • Send a test purchase and read the user profile's event stream
  • Read the match rate, not the success message

Checked against

GoCardless payments confirmed by charge date, against the mandate that authorised them.

Get my free conversion tracking audit

Free30 minutesNo obligation

GoCardless → Braze · when not to buy

When you don't need this — GoCardless → Braze

  • Measure identifier coverage yourself first — pull your last hundred mandates and count how many carry the Braze external user ID.
  • If you take one-off bank payments with no mandate, this reduces to a much simpler integration.
  • If you have no mobile app and no push channel, Braze is a large piece of infrastructure for a job an email platform already does.

GoCardless → Braze · what we deliver

What gets built — GoCardless → Braze

  • Identifier capture into GoCardless

    Pass the click identifier into the mandate's metadata at setup, so all future collections trace back to the campaign that acquired the customer.

  • Event source: the GoCardless payment confirmed webhook

    Send the mandate setup as acquisition at expected lifetime value, and treat individual collections as reporting rather than as new conversions.

  • Dispatch to Braze

    The Braze user track endpoint, posted server-side from your order or billing system with the external user ID and event properties.

  • Reversals where they exist

    Failed collections, chargebacks and cancelled mandates all exist and all should reduce the reported value.

Written guarantee

95%+ tracking accuracy

Measured against GoCardless payments confirmed by charge date, against the mandate that authorised them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

GoCardless → Braze questions, answered

Forward the payment-failed webhook server-side to Braze with the external_id stored on the mandate, after dropping any GoCardless event ID you have already processed.

Free · 30 min

Get GoCardless and Braze joined properly

Free30 minutesNo obligation