Get charges
Tags: #stripe #charges #snippet #operations #dataframe
Description: This notebook provides an overview of Stripe charges and their associated data.
try:
import stripe
except:
!pip install stripe
import stripe
import pandas as pd
api_key = "sk_test_4eC39HqLyjWDarjtT1zdp7dc"
stripe.api_key = api_key
charges = stripe.Charge.list(limit=30)
pd.DataFrame(charges.get("data"))
Last modified 1mo ago