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.
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}
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.
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.
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.
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.succeededConfigure 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.succeededFires when a payment is captured. Primary event for awarding purchase points.
checkout.session.completedFires when a Stripe Checkout session is completed by the customer.
customer.subscription.createdFires when a new subscription is created. Useful for membership rewards.
customer.subscription.renewedFires on each subscription renewal. Reward loyalty for recurring revenue.
invoice.payment_succeededFires 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
UseLoyalty