Skip to content

Payment Methods

This guide shows you how to integrate your Stripe API keys and Webhook with WeaveAI.

  1. Log in to the Stripe Dashboard
  2. Navigate to DevelopersAPI Keys section
  3. Copy your API keys (Publishable key and Secret key) based on your environment, Live or Test
  1. In the Stripe Dashboard, go to DevelopersWebhooks
  2. Click + Add destination
  3. Select the following options:
    • Events from: Your account
    • API version: 2025-*
    • Events:
      • checkout.session.completed
      • customer.subscription.created
      • customer.subscription.updated
      • customer.subscription.deleted
      • invoice.payment_succeeded
      • invoice.payment_failed
  4. Click Continue
  5. Select Webhook endpoint as the Destination type and click Continue
  6. Provide a name and description for the webhook, and under Endpoint URL, add this:
    • https://your-domain-url/api/stripe/webhook
  7. Click Create destination
  8. After creation, click on the webhook endpoint to view details, reveal and copy the Signing secret

Add the values to the WeaveAI admin dashboard

Section titled “Add the values to the WeaveAI admin dashboard”

In the Admin DashboardSite SettingsPayment Methods section, add the following details:

  • Stripe Publishable Key
  • Stripe Secret Key
  • Stripe Webhook Secret