#nickdnk_api
1 messages ยท Page 1 of 1 (latest)
๐ 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/1470924073105096905
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- nickdnk_api, 5 hours ago, 5 messages
- nickdnk_basil-changlog-lang-discrepancy, 1 day ago, 80 messages
- nickdnk_api, 1 day ago, 14 messages
request increased limits* I mean
I only work with 1 payment per invoice, so I just want to go from subscription or from invoice to latest payment intent/charge
It's also a little inconsistent, as apparently sometimes data doesn't count, or some endpoints have different restrictions. See #1470474852828975166 message
Hi there,
just to clarify, you have either invoice ID and/or subscription ID and want to find the payment intent of the latest payment for that invoice?
In this particular case, I have a subscription and I want to list all subscriptions including their payment intent
It seems I now need to perform another request per resource in that list, which makes it a lot slower
but the problem is the same when listing invoices, as that's also below the 4 limit, see req_gWPzrXoNJzJlEq
I have a subscription and I want to list all subscriptions including their payment intent
You mean a subscription and list all invoices incl. their latest Payment Intents?
Either subscription -> invoice -> payment or just invoice -> payment. Neither is possible in one go now.
See req_gWPzrXoNJzJlEq
And this doesn't even include .charge which I'd also need to get the payment method that was used
This is terrible for my application. I retrieve invoices or subscriptions along with their payment in a lot of places
Mainly just invoice -> payment, but like I said, that's also more than 4 levels.
If you have the invoice ID, you could use the List Invoice Payments API, using that invoice ID as parameter and expand ["data.payment.payment_intent.latest_charge"]
Yeah but if I'm listing the invoices
I will have to do this for each item in the list
Previously I could just expand to .payment_intent.latest_charge
That is true. We intentionally moved away from this siince the basil API version update
Okay, so I guess I will have to rewrite this and see if the invoice payments API will be sufficient
Big sad
Going to be slow ๐
Can you explain to me why this is allowed then? req_VvAVTvLSMWyihc
That's 5 levels
Or is it because it only counts those that are listed as Expandable ?
(and lines.data.pricing.price_details is one object)
I guess that's why, otherwise none of this makes sense
Yes, you are correct.
In case you do hit api limits and need to request a limit increase, you would need to reach out to our support directly: https://support.stripe.com/?contact=true