#MielGarcia
1 messages · Page 1 of 1 (latest)
Could you share an example invoice ID (in_xxx) that you're describing to?
Hi River. this ID is not available when I'm fetching the invoices 1MXYMCAtQnjR4Z0zQnyUx34A
in_1MXYMCAtQnjR4Z0zQnyUx34A
this is the sample of my curl request.
Hi @raw salmon you mean you can't retrieve the invoice?
Yes. When I retrieve all the invoice. that invoice is not included
The max number for limit is 100
If you have more than 100 invoices, you need to use pagination https://stripe.com/docs/api/pagination#pagination
it still does not exceed 100.
I noticed that missing invoice is from the invoice that the payment failed the first time. For example, if the invoice payment failed, the stripe will try again upto 5days if I'm not mistaken? Say, after second try the payment is successful. And when I fetch all the invoices that invoice is not included in the list. I'm not sure if I was able to explain it clearly.
The list API will return invoice of all status unless otherwise specified, so I don't think a failed payment will cause it removed from the invoice list
Can you share the request ID (req_xxx) of the List all invoice API call? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I can provide that tomorrow. Because my partner who have access in the dashboard is now offline.
Can you help me figure out the best epoch time (created_gte and created_lte) for this invoice in_1MXYMCAtQnjR4Z0zQnyUx34A?
is this the field that the created filter is checking?
"created": 1675465668,
Yes.
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!