Stripe

Stripe is a popular online payment processing platform that enables businesses to accept and manage payments securely through customizable APIs and tools, simplifying e-commerce transactions and subscription services. You can use a webhook in the Stripe platform to forward payment-related events to the Sumo Logic HTTP endpoint. Using these logs, you can monitor payment activities, subscription changes, successful charges, and refunds in Sumo Logic. For more details, refer to the Stripe Documentation.
Event types
The Sumo Logic integration for Stripe ingests Stripe events into Sumo Logic through an outgoing webhook available in Stripe. For more information on supported events that are ingested through the Stripe webhook, see the Stripe documentation.
Setup
This section has instructions for collecting logs for the Sumo Logic Stripe webhook collection.
Source configuration
Follow the below steps to configure the Hosted Collector to receive Stripe events.
- In the Sumo Logic portal, create a new Hosted Collector or use an existing one.
- Then add an HTTP Logs and Metrics Source.
- Configure Source Category in the HTTP Source - for example,
webhook/stripe
- for the Stripe integration. - Expand Advanced Options for Logs (Optional) section in the HTTP Source, then uncheck Multiline Processing option and check One Message Per Request.
- Copy and save the endpoint URL of the source.
Vendor configuration
Configure the webhook integration in Stripe to send events to the Sumo Logic HTTP source. Once configured, it will be triggered each time the events occur within your Stripe account.
Follow the below steps to configure the Stripe webhook.
- Sign in to the Stripe account.
- Go to Developers section, click Webhooks.
- Select Add endpoint. The webhook form will appear.
- Enter webhook form data as follows:
- Endpoint URL. Enter the Sumo Logic HTTP endpoint URL(source address) created above.
- Description. Enter an optional description for the given webhook.
- Listen to. Select an option for account from Events on your account and Events on Connected accounts.
- Select events. Select events to listen for webhook.
- Click Add endpoint.
- Verify Stripe events are getting ingested in Sumo Logic by executing the following query on Sumo Logic's Log Search panel.
_sourceCategory=webhook/stripe
- For detailed information about webhook creation, refer to the Stripe Documentation.
- For support, contact Stripe.