#gunwantkumar_docs

1 messages ¡ Page 1 of 1 (latest)

distant gorgeBOT
#

👋 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/1374659482428117022

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

grand halo
#

What happens when you make that API request? Does it error?

clear mason
#

I just want to confirm, Is it proper way?

grand halo
#

So it depends on your SDK/API version

clear mason
#

I'm talking about this one.

grand halo
#

Ah, sorry. Misread your message. Yes that should work

clear mason
#

I'm confussion about this.
1.
expand: ['payments', 'payments.data.payment.charge', 'payments.data.payment.payment_intent'],

  1.          expand: ['payments', 'payments.payment.charge', 'payments.payment.payment_intent'],
    

Please help me out for this, One which one is correct?

grand halo
#

Well it depends on what exactly you need?

#

What info are you trying to find?

clear mason
#

I want to expand charge and payment_intent.

grand halo
#
['payments.data.payment.charge', 'payments.data.payment.payment_intent']
clear mason
#

Thank you