#neil3rd-balance

1 messages · Page 1 of 1 (latest)

rose river
#

@drowsy pond hello! do you have a specific question?

drowsy pond
#

Hello,

trying to make this Python code work inside Flask

rose river
#

ok, and what did you try? Did you get a specific error message?

drowsy pond
#

This is the Python code that will be retrieving the Balance

rose river
#

why don't you use our library?

drowsy pond
#

a moment please, will get back to you. will read the repo

drowsy pond
#

do I have to authorize the link from which the Flask and Python code will run as an endpoint inside my Stripe account?

rose river
#

what do you mean by "authorize" exactly?

drowsy pond
#

register as an endpoint

rose river
#

I don't know what that means exactly, I'm sorry

#

are you talking about webhooks?

drowsy pond
#

ok, webhooks

rose river
#

I mean maybe you need to use webhooks, maybe you don't?

#

I don't know what you're trying to do or what the context is for when / why you are checking your balance, so it's incredibly hard for me to answer you.

drowsy pond
#

I'll go thru my dashboard then I'll get back to this thread

drowsy pond
#

moving on

#

how do I get to make "customers = stripe.Customer.list()" to work with the rest of my code?

rose river
#

sorry I don't understand the question

#

if you want e.g. the customer name it's like customers.data[0].name I believe.

drowsy pond
#

where in Stripes documentation could I further read on this?

rose river
#

like, that API returns a list of customer objects

drowsy pond
rose river
#

I .. don't know what you mean, I'm sorry.