#riprock_code

1 messages ยท Page 1 of 1 (latest)

upbeat kiteBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1386827425677054084

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

low lily
#

Hi there

spring mountain
#

Hello Roadrunner!

low lily
#

Do you happen to know which API version you're using?

spring mountain
#

LooLookslike im using 5-28

low lily
#

Got it, that explains it then

spring mountain
#

Okay. Gotcha. So Invoice payment object is what I need to connect with. I see it in the link

#

So then my next question is Im not seeing an invoice payment ID in the json

#

Like I just ran the call

#

And heres the result just slightly sanitized

low lily
#

Did you expand payments when retrieving the Invoice?

spring mountain
#

So I just did that
self.client.invoices.retrieve(invoice_id, params={"expand": ["payments"]})

And Payment intent shows up

#

I guess because im still on 5-28

low lily
#

Right, so anything within the Basil version uses this new object format

spring mountain
#

How do I force to use 5-31.basil so I can dev on the most recent version

#

stripe_version param correct?

upbeat kiteBOT
low lily
#

2025-05-28.basil is the latest version

spring mountain
#

Oh im blind I misread the dates

#

Okay coolThank you!