Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7996865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:48:56+00:00 2026-06-04T14:48:56+00:00

Using the Stripe API , I’d like to be able to query for date

  • 0

Using the Stripe API, I’d like to be able to query for date ranges or, failing that, dates that are greater than or less than some arbitrary date.

I know that I can query for something based on an exact date, e.g.,:

https://api.stripe.com/v1/events?created=1336503409

But I want something along the lines of…

# Search for events where `created` is greater than the epoch time: 1336503400
https://api.stripe.com/v1/events?created__gt=1336503400 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T14:48:58+00:00Added an answer on June 4, 2026 at 2:48 pm

    Yes. From https://stripe.com/docs/api?lang=curl#list_events

    created: A filter on the list based on the events created date. The value can be a string with an exact UTC timestamp, or it can be a dictionary with the following options:

    gt (optional) Return values should have been created after this timestamp.

    gte (optional) Return values should have been created after or equal to this timestamp.

    lt (optional) Return values should have been created before this timestamp.

    lte (optional) Return values should have been created before or equal to this timestamp.

    So with curl, you can build a request like this:

    curl "https://api.stripe.com/v1/events?created%5Blt%5D=1337923293" \
     -u ${YOUR_API_KEY}:
    

    The unescaped query parameter is created[lt]=1337923293.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an HTML table with less than 50 rows. I am using Sorttable
I'm calling in values using PHP to cURL a site's API. I'm able to
I'm new to using regexp, can someone give me the regexp that will strip
I'm using the old Rest API (and old Javascript SDK) to develop an iframe
I'm writing code where I retrieve XML from a web api, then parse that
I want to zebra-stripe a html table without using any js stuff or writing
I am attempting to integrate Stripe's recurring payment system with Devise, using Ryan's recent
I currently have a UITableViewController that parses a JSON response (using TouchJSON) fired asynchronously
I am using: tr:nth-child(2n+1) { background-color: #DDDDDD; } To zebra-stripe a table. I have
I'm testing a simple checkout form using stripe for payments. I followed tutorial examples

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.