Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import stripe
- foo = stripe. PaymentIntent.list(limit=3)
- payment_intent = foo['data']['object']['payment_intent']
- charges = stripe.PaymentIntent.retrieve(payment_intent)['charges']['data'][0]
- item = events['data'][<insert or loop over this list element>]['data']['object']['display_items'][0]['sku']['attributes']['name']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement