Chatspark
Pricing
⌘K
⌘K

Stripe

Enable your AI agent to check payment status, retrieve invoice details, and list customer charges directly from your Stripe account.

5 min read

Updated October 2026

Overview

The Stripe integration allows your AI agent to access payment information from your Stripe account. Customers can inquire about payment status, view invoices, and check their charge history through natural conversation.

Perfect for subscription businesses and e-commerce sites that want to automate billing inquiries without exposing sensitive payment data.

Available Actions

Available actions depend on your agent type and plan. Customer-facing actions serve customers. Internal team actions are for authenticated team use. AI CoPilot is Enterprise-only. Plus enables up to 5 actions per agent, Pro enables 40, and Enterprise has no enabled-action limit.

ActionDescriptionAudience
Get InvoiceGet invoice detailsCustomer-facing
Get Payment StatusCheck payment statusCustomer-facing
List ChargesList recent charges for a customerCustomer-facing
Read-Only Access
This integration only reads payment data. It cannot process payments, issue refunds, or modify any billing information.

Prerequisites

Before setting up the Stripe integration, you'll need:

  • A Stripe account
  • Access to your Stripe Dashboard
  • A restricted API key (recommended) or secret key

Setup Instructions

Step 1: Create a Restricted API Key (Recommended)

  1. Log in to your Stripe Dashboard
  2. Go to Developers → API keys
  3. Click Create restricted key
  4. Name it (e.g., “ChatSpark Integration”)
  5. Set permissions:
    • Charges: Read
    • Invoices: Read
    • Customers: Read
  6. Click Create key and copy the key
Use Restricted Keys
Always use restricted API keys with minimal permissions rather than your secret key. This follows the principle of least privilege.

Step 2: Enable in ChatSpark

  1. In ChatSpark, go to AI Actions
  2. Find Stripe in the Library and click Enable
  3. Select the AI Agent(s) that should have access
  4. Enter your Secret Key (or restricted key)
  5. Click Save

Configuration Fields

FieldDescriptionExample
Secret KeyYour Stripe secret or restricted API keysk_live_xxxxx... or rk_live_xxxxx...

Testing Your Integration

After setup, test the integration:

  1. Open your AI Agent widget
  2. Try asking: “What's the status of my last payment?”
  3. The AI should look up payment details (requires customer email)

Other test queries:

  • “Can I see my recent invoices?”
  • “Was my payment successful?”
  • “Show my billing history”

Troubleshooting

Invalid API key

Ensure you're using a live mode key (starts with sk_live_) for production. Test mode keys will only access test data.

Permission denied

If using a restricted key, verify it has read access to Charges, Invoices, and Customers.

Customer not found

Payment lookups require the customer to exist in Stripe with a matching email address.

Need Help?
If you're having trouble with the Stripe integration, contact our support team and we'll help you troubleshoot.

Previous

Square

Next

Trestle