#neil3rd
1 messages · Page 1 of 1 (latest)
Hello Jack
getting this error message
with this code
`account_id = 'acct_2JkpBY2azPPfnmhl'
stripe_testlist = (stripe.Customer.list(testdata_acct_id='account_id', api_key=stripe.api_key))
user1 = stripe_testlist.data[10].name`
can you replace testdata_acct_id='account_id' with just account_id ?
next error message is
TypeError: list() got multiple values for argument 'api_key'
can you remove the quotation? 'account_id' -> account_id
Hmm, you might use the wrong set of parameters
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
These are the list of params that you can pass to Customer.list
yes, that's all I was expecting however this vidtut
code instruction inbetween 06:03 - 07:02
From the video it is Customer.retrieve, and you are calling Customer.list
Different methods have different set of params
Hi neil, I think you were passing incorrect params to Customer.list, can you refer to
https://stripe.com/docs/api/customers/list?lang=python for the list of param that this API is expecting?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
moving on