#daartanian_api
1 messages ¡ Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- daartanian_connect-flows, 4 days ago, 22 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1254948543295393892
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi, the latest_charge parameter is what we call an Expandable parameter, https://docs.stripe.com/api/payment_intents/object#payment_intent_object-latest_charge. You would need to use our Expand function, https://docs.stripe.com/api/expanding_objects to see the details of the charge returned on the response.
So I would pass in:
-d "expand[]"="latest_charge"?
to my curl API call?
I am not understanding the documentation
How would I do this if I am making the call from stripeJS?
with my useStripe() and then stripe.retrievePaymentIntent()?
you would need to use the expand on the payment intent creation request, this is not a
retrievable with the publishable key
oooh, so when I go to create the intent, I would need to pass this in? I see
And back to my question... the expandable thing wasn't clear to me.
How would I do this specific one?
Thinking of curl
Like so? -d "expand[]"="latest_charge"
Xano... so kinda not a language
but they can take in curl requests
and translate it
Yes, it would be "expand[]"="latest_charge" \
awesome, thanks, I will give that a try