#rahul_21724
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
Hi
I am not sure I follow what you're trying to do.
https://api.stripe.com/v1/charges
When utilizing this API to retrieve all charges, it does not return a zero amount charge entry in the response.
Could you please share an example?
Yes
When attempting to fetch all records from Stripe, only entries with a £72 charge are returned in the response, and zero-amount invoices are not included.
I need to retrieve all transactions for the user, but I am unable to find an API that returns both types of records.
0 GBP Invoices don't generate a PaymentIntent/Charge, therefore you can't retrieve it.
You can list the Invoices instead: https://stripe.com/docs/api/invoices/list
If I manually create a receipt on the Stripe website, will this API return that receipt even if no invoice is created?
What do you mean by "manually create a receipt on the Stripe website"?
GET /v1/invoices only lists Invoice objects
Basically, if I go to the customer's profile on Stripe (https://dashboard.stripe.com/test/customers/) and manually charge an additional amount for some reason, will this transaction be included in the list of invoices returned by the https://stripe.com/docs/api/invoices/list API? will this API return that receipt even if no invoice is created?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If you haven't created an Invoice, then no. It will only create a PaymentIntent object for one-off charges like this.