- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to build a daily cron job that goes through all of the transactions that happened for that day but I'm not sure what to put in the the start_date and end_date parameters to get back transactions that happened exactly one day in the past up to now (+- 3 hours
I suppose I need to convert the timezone to the one used by PayPal, based on the info from my transaction logs I'm guessing that the time zone should be PST but it would be great if someone could confirm
This is the API that I'm using: https://developer.paypal.com/docs/api/transaction-search/v1/
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @filipmania,
Thank you for posting to the PayPal community.
To fetch transactions within a specific period, you can utilize the "start_date" and "end_date" parameters. These parameters will provide you with the necessary information. Please refer to the following links for detailed instructions:
1. To fetch transactions: https://developer.paypal.com/docs/api/transaction-search/v1/#search_get!in=query&path=start_date&t=r...
2. Standard format for date and time zone: https://datatracker.ietf.org/doc/html/rfc3339#section-5.6
If your still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US with the detail information and error details.
Sincerely,
Vaishnavi
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @filipmania,
Thank you for posting to the PayPal community.
To fetch transactions within a specific period, you can utilize the "start_date" and "end_date" parameters. These parameters will provide you with the necessary information. Please refer to the following links for detailed instructions:
1. To fetch transactions: https://developer.paypal.com/docs/api/transaction-search/v1/#search_get!in=query&path=start_date&t=r...
2. Standard format for date and time zone: https://datatracker.ietf.org/doc/html/rfc3339#section-5.6
If your still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US with the detail information and error details.
Sincerely,
Vaishnavi
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- What is the timezone that the start and end dates should be in when using the transaction-search API in REST APIs
- Update your phone validation for Australia in PayPal Payments Standard
- Subscription start date issue in SDKs
- What time zone is being used in "Live API call history" in PayPal Reporting
- Timezone setting on the account: How do I fetch the Timezone set for an account by API? in REST APIs