HI
I am trying to get Stripe Invoices (in test mode) using resources (a) Retool provided inbuilt Srtipe API resource (b) REST API resource connecting to Stripe.
I have created two separate queries using above resources. When I run these queries using
GET https://api.stripe.com/v1/invoices (using resource 'a')
GET https://api.stripe.com/v1/invoices?limit=3 (using resource 'b')
As an output, I am getting list of invoices which are not created by me (may be they are some kind of dummy / example invoices which do not have any account attached to them).
When I use above URL and API Key in another tool like HTTPie, Postman, Stripe CLI, I am getting proper output (invoices created by me).
Not sure whether I am missing some thing or is it an issue with retool.
To check whether my API key is being used or not I gave wrong API key and I got an error, hence it is taking the API key provided by me, but returning some dummy data.
I am sharing screen shots
(a) Resource created using Retool inbuilt Stripe API
(b) Resource created Using Retool REST API resource
Stripe Output
Result for (a) - dummy data
Result for (b) - same dummy data
Please suggest how this can be resolved
Thanks in advance