#krsacme
1 messages · Page 1 of 1 (latest)
What is a 'scheduled query response'?
sigma report
There'd be a file hash with a URL to the download: https://stripe.com/docs/api/sigma/scheduled_queries/object#scheduled_query_run_object-file
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
do i need to use http download with the given url ?
I imagine a GET request would work yes. Or redirect your user to the URL
will it be a publically accessible link or it will require us to use the stripe api key to download? basically we dont want the data to be accessible outside
AFAIK it will be public
is there any option to do safe download - can be downloaded only with key?
What kind of key?
You need to retrieve the sqr_xxx object with your secret key in the first place in order to even access the URL. Is that not secure enough?
once i have the url, then the url is public - right?
Depends what you mean by public. It is accessible without authentication, yes
i undestand that that there are hashes added to the url path, so that its hard to find it, but I was looking for a authenticated way of dowloading the file
The URL parameter denotes that it 'can be downloaded using your live secret API key'. In practice I'm not sure what that means (we're not familiar with Sigma really), so maybe worth trying: https://stripe.com/docs/api/sigma/scheduled_queries/object#scheduled_query_run_object-file-url
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Maybe you need to pass the sk_xxx in the GET headers?
ok. do you know what headers i need to pass?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.