All integrations
ST

Payments Integration

Stripe

Award loyalty points on every Stripe payment, subscription, and checkout event.

About this integration

Stripe + UseLoyalty

Stripe is the most widely-used payment processor for online businesses. By wiring Stripe webhooks into UseLoyalty you can trigger points, rewards, quests, and tier progression every time a real payment event fires — no manual syncing required.

Webhook endpoint

Configured in UseLoyalty dashboard

https://app.useloyalty.app/api/webhooks/stripe/{program-id}

This URL is generated for your account in the UseLoyalty dashboard. Each integration has its own signed endpoint.

Setup guide

Connect Stripe in minutes.

Follow the steps below to wire Stripe webhooks into your UseLoyalty program. No code required.

1

Copy your webhook endpoint URL

Go to UseLoyalty Dashboard → Settings → Integrations → Stripe. Copy the webhook endpoint URL shown there. It looks like: https://app.useloyalty.app/api/webhooks/stripe/{your-program-id}

2

Create a webhook in Stripe Dashboard

Open the Stripe Dashboard → Developers → Webhooks → Add endpoint. Paste the URL from step 1 into the Endpoint URL field.

3

Select the events to listen for

Under 'Select events to listen to', search for and add the events listed in the Events section below. At minimum add payment_intent.succeeded and checkout.session.completed.

4

Copy the signing secret

After creating the webhook, Stripe shows a Signing Secret (starts with whsec_). Copy it and paste it into UseLoyalty Dashboard → Settings → Integrations → Stripe → Webhook Secret.

5

Test the connection

Use Stripe's 'Send test webhook' button (or the Stripe CLI: stripe trigger payment_intent.succeeded) and confirm a test event appears in the UseLoyalty activity log.

stripe trigger payment_intent.succeeded
6

Configure loyalty rules

In the UseLoyalty campaign builder, create a rule that fires on the Stripe payment event. Set points per currency unit, cooldowns, eligibility, and reward triggers.

Webhook events

Events to subscribe to.

Subscribe to these events in your Stripe dashboard when creating the webhook. UseLoyalty maps each event to your campaign rules automatically.

payment_intent.succeeded

Fires when a payment is captured. Primary event for awarding purchase points.

checkout.session.completed

Fires when a Stripe Checkout session is completed by the customer.

customer.subscription.created

Fires when a new subscription is created. Useful for membership rewards.

customer.subscription.renewed

Fires on each subscription renewal. Reward loyalty for recurring revenue.

invoice.payment_succeeded

Fires when an invoice is paid — covers one-off and subscription invoices.

Get a tailored walkthrough

Ready to build
loyal customers?

Tell us a bit about your stripe loyalty program and we'll show you exactly how UseLoyalty can work for you.

  • Live demo tailored to your stripe loyalty program
  • Setup walkthrough, live in under 10 minutes
  • Pricing advice based on your location count

FAQ

Common questions