#GazalaM

1 messages ยท Page 1 of 1 (latest)

sand vaporBOT
gilded turret
sinful hearth
#

Hi ynnoj, that would be better but currently our project just uses HTTP calls to stripe. ๐Ÿ˜ฆ

As a short term fix, would I be able to use this library just to format my data structures?

gilded turret
#

I don't believe so, no

#

I'd imagine there's some third-party lib out there that will handle the data serialising you need (not overly familiar with Python)

sinful hearth
#

Alrght, thanks! How would we do it using stripe-python? I can pitch it to my team to migrate ๐Ÿ™‚

gilded turret
sinful hearth
#

The example is very sparse, and doesn't show how nested data (like the period, metadata and tax_rates) would look like:
stripe.InvoiceItem.create( customer="cus_MRFTuqXUGJJHGE", price="price_1LiL13HfRoBp5g8KCRGDOdvQ", )