#OptimalSurprise-paymentlink
1 messages · Page 1 of 1 (latest)
Hi! What are you trying to do? Create a new Payment Link with the API client in python?
yes correct
You can see an example here: https://stripe.com/docs/api/payment_links/payment_links/create?lang=python
stripe.PaymentLink.create
so this evidently does not exist in the stripe package
stripe.PaymentLink.create()
AttributeError: module 'stripe' has no attribute 'PaymentLink'
Got it! Which version of stripe-python are you using?
2.58.0
You need at least version 2.65.0 https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md#2650---2022-01-20