Stripe

Number of successful and failed transactions

SQL query for Stripe

Get the number of successful and failed transactions from the payment_intents table.

SELECT status, COUNT(*) as count FROM payment_intents GROUP BY status

Stripe data model

Stripe
Table Products
Id: String
Name: String
Type: String
Active: Boolean
Object: String
Created: Integer
Updated: Integer
Livemode: Boolean
Default_price: String

Stripe
Table Balance Transactions

Stripe
Table Charges

Stripe
Table Customers

Stripe
Table Disputes

Stripe
Table Events

Stripe
Table Files

Stripe
Table Invoices

Stripe
Table Payouts

Stripe
Table Prices

Stripe
Table Payment Intents

Stripe
Table Refunds

Stripe
Table Shipping Rates

Stripe
Table Subscriptions

Stripe
Table Subscription Items

Use SQL on all your SaaS data

Magical SQL for Stripe with Peliqan.io

Explore data in a rich spreadsheet UI. Use Magical SQL to combine and transform data. SQL queries become new tables that can be shared with business users and used in any BI tool such as Microsoft Power BI, Tableau or Metabase.

Peliqan Ask AI willl write your SQL queries from plain English

Let AI do the work for you

Peliqan’s AI assistant helps you to write SQL queries to get to insights fast. Ask your question in plain English and immediately see the result in Peliqan’s rich spreadsheet viewer.