#sanjeetkumar_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1268883465030598717
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! what does your exact code look like, what exact value are you getting back in response?
I am getting all transactions from 1st Jan
But I want the transactions from the given date
the API request you shared seems ike it should be doing that. If you're saying it's not then I need more context in order to dig in, such as exact code and the exact raw response you're seeing.
public static async getTransactions(
bankAccountId: string, fromDate?:number, bankTransactionId?:string,
) {
try {
const transactions = await StripeService.STRIPE.financialConnections.transactions.list({
account: bankAccountId,
transacted_at: { gte: fromDate },
starting_after: bankTransactionId,
});
return transactions;
} catch (error) {
Logger.error('Error while fetching transactions for bank account', error);
throw error;
}
}
this is the code
data received by stripe
Can you share the JSON response returned from the API? Unfortunately we don't log those
its not in stripe logs, but I got response with transactions
See its not showing here
Yeah as I said we don't store the GET request responses, you'd need to share the JSON from your code integration where you make the API request
Ohk Got it
In any case we think this is a bug on our end so we'll file it with the team
Yeah please check it, that any other developer reported or not.
I can't provide the JSON response right now as I am from India and working for the US company so I can do only when my US team is online
But at least can you confirm that is it a right way for getting bank transactions after specific date?
Those are the correct API parameters to use yes: https://docs.stripe.com/api/financial_connections/transactions/list#financial_connections_list_transactions-transacted_at
But, as explained, there is seemingly a bug where we aren't applying the timestamp to filter/query the data. So we'll need to investigate and fix
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 want to be updated on when that is resolved, you can write in: https://support.stripe.com/contact/email?topic=api_integration
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.