#swaroopnagothi25_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/1374063066731380899
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
Do you have the ID of the Financial Connection object you created?
Do you mean account ID?
You can only listen to bank transactions through a Financial Connection object.
Yes.
Yes.
Can you share it?
Yes. Give me a minute
sorry for the delay.here is payment method ID: pm_1RMWoRASnOUGbnlsLQJgbjco
Taking a look
ok
Hmmm... I'm having a hard time finding the specific permissions for this account
ok. I was able to get the transaction for the financial account.
Okay so it just took a little time to see them?
I want to test the subscription https://docs.stripe.com/api/financial_connections/accounts/subscribe?lang=ruby
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
as soon as the new deposits are added. stripe will send a webhook right
We document how this works here: https://docs.stripe.com/financial-connections/transactions#subscribe-to-transactions
As long as you remain subscribed to transaction data, Stripe initiates a new refresh every day.
Based on this language in the doc, I think it will happen daily
yes. i subscribed to the account. Here is financial connection account ID (fca_1RMWo3ASnOUGbnlsTbMobxCv)
Right so we will refresh transactions on a daily basis. But, as far as I can tell, there is no webhook event sent for this. Maybe we send financial_connections.account.refreshed_transactions event but that sounds like it's only for manual refreshes to me
It's up to your integration to retrieve the new transactions
ok. then what is the use of subscription?
does stripe doesn't notify us for a new transaction ?
The subscription means Stripe will refresh the transactions daily, without you having to take action
But you will still need to retrieve the new transactions from the Financial Connection accout
The refreshing of Transactions is an asychronous process so subscribing can save time for your integration
ok. so subscription will make refresh daily.
And once refresh completes, stripe will trigger a webhook event financial_connections.account.refreshed_transactions. Once i recieve this event , i can fetch the transactions.
Correct. Otherwise you wouuld need to trigger this yourself and wait for the refresh to happen
And once refresh completes, stripe will trigger a webhook event financial_connections.account.refreshed_transactions
I think so but not 100% certain. I would test this to be sure
can you confirm this?
What I am certain about is we will update the transaction_refresh property to accurately reflect the latest refresh.
I don't currently have a saved Financial Connection. You should be able to test this faster than I can
I added this event financial_connections.account.refreshed_transactions to my webhook endpoint
so subscription will refresh once in a day or it will refresh for each new transactiom
Where in our docs do we say it will refresh for each transaction?
To me, it is clear this will refresh daily and not for each transaction
ok
I resfresh manually. And i got the webhook for the refresh completion
That is what I expect
I am not certain if you get the same webhook event during a scheduled refresh
ok. so I think we have to wait for 24-hrs for the scheduled resfresh.
Yes you should know for certain within 24 hours. But I also recommend polling the Financial Connections Account API and checking the transaction_refresh property to determine if you should pull down a new set of transactions. as an alternative approach.
ok. got it.
is there a way to add depostits to any stripe test bank account?
financial test bank account
I don't see that case mentioned in our doc on testing. You could try setting up a Financial Connection as a Connect Account external bank account and trigger a payout to see if we notify you of deposits in that situation.
Hey there, I'm in another thread will get to you shortly.
Here's our docs on how to test a Financial Connection [0]