LiyaSupport
Integrations

Stripe integration

Show subscription, invoice, and payment data alongside support conversations so agents never have to tab away.

5 min read Updated July 2026

The Stripe integration pulls billing data directly into the Liya conversation sidebar. When a customer contacts support about a payment issue, agents see their Stripe subscription, recent invoices, payment method, and dispute history — without leaving Liya.

What the integration shows

DataDescription
Subscription statusActive, past_due, trialing, cancelled, or paused
Current planStripe product and price name (e.g. "Growth · $49/month")
Next billing dateWhen the next invoice is due
Payment methodCard brand, last 4 digits, and expiry date
Recent invoicesLast 5 invoices with status (paid, open, void, uncollectible)
Payment historySuccessful and failed charge attempts with amounts and dates
Disputes / chargebacksOpen dispute status and amounts
Upcoming invoicePreview of the next invoice if subscription is active

Connecting Stripe

1

Go to Settings → Integrations → Stripe

Click Connect Stripe account.

2

Authenticate via Stripe OAuth

You'll be redirected to Stripe's OAuth flow. Select the Stripe account (live or test mode) and click Connect.

Liya connects to Stripe in read-only mode by default — it can view billing data but cannot charge, refund, or cancel subscriptions unless you explicitly enable write actions (see below).
3

Configure customer matching

Liya matches Stripe customers to Liya contacts using email address. If your customers have different emails in Stripe vs Liya, set up a custom matching field using the Stripe metadata.liya_contact_id key.

Billing actions (optional write permissions)

If you grant write permissions, agents can take billing actions directly from the Liya conversation sidebar:

  • Issue refund — full or partial refund on a specific invoice or charge
  • Retry failed payment — manually retry the latest failed invoice
  • Send invoice — resend the invoice email to the customer
  • Apply discount / coupon — apply a Stripe coupon to the customer's subscription
  • Cancel subscription — immediately or at end of billing period
Billing actions are logged in both the Liya audit log and Stripe Dashboard event history. Restrict write permissions to senior agents and admins using Liya's role-based access controls.

AI draft enhancement

When Stripe is connected and a billing-related ticket is detected, Liya injects relevant Stripe data into the AI draft context:

  • Whether the customer's subscription is active or past due
  • The exact amount and date of the charge they're asking about
  • Whether a refund is eligible based on your configured policy
  • The payment method last 4 digits (useful for identity verification)

This produces drafts like: "Hi Jane — I can see your invoice of $49 from June 28th was successfully charged to your Visa ending in 4242. Your Pro plan is active and will renew on July 28th..."

Test mode

You can connect a Stripe test account separately for staging and development environments. Test mode data is kept completely separate from live mode data in Liya.