#swaroopnagothi25_api

1 messages ยท Page 1 of 1 (latest)

shut currentBOT
#

๐Ÿ‘‹ 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.

merry cave
#

Hi ๐Ÿ‘‹

Do you have the ID of the Financial Connection object you created?

copper night
#

Do you mean account ID?

merry cave
#

You can only listen to bank transactions through a Financial Connection object.

copper night
#

Yes.

merry cave
#

So do you have the ID of the bank account you created with a Financial Connection?

copper night
#

Yes.

merry cave
#

Can you share it?

copper night
#

Yes. Give me a minute

#

sorry for the delay.here is payment method ID: pm_1RMWoRASnOUGbnlsLQJgbjco

merry cave
#

Taking a look

copper night
#

ok

merry cave
#

Hmmm... I'm having a hard time finding the specific permissions for this account

copper night
#

ok. I was able to get the transaction for the financial account.

merry cave
#

Okay so it just took a little time to see them?

copper night
#

as soon as the new deposits are added. stripe will send a webhook right

merry cave
#

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

copper night
#

yes. i subscribed to the account. Here is financial connection account ID (fca_1RMWo3ASnOUGbnlsTbMobxCv)

merry cave
#

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

copper night
#

ok. then what is the use of subscription?

#

does stripe doesn't notify us for a new transaction ?

merry cave
#

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

copper night
#

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.

merry cave
#

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

copper night
#

can you confirm this?

merry cave
#

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

copper night
#

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

merry cave
#

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

copper night
#

ok

shut currentBOT
copper night
#

I resfresh manually. And i got the webhook for the refresh completion

merry cave
#

That is what I expect

#

I am not certain if you get the same webhook event during a scheduled refresh

copper night
#

ok. so I think we have to wait for 24-hrs for the scheduled resfresh.

merry cave
#

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.

copper night
#

ok. got it.

#

is there a way to add depostits to any stripe test bank account?

#

financial test bank account

merry cave
#

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.

copper night
#

ok

#

can we do this with test bank account?

pastel moon
#

Hey there, I'm in another thread will get to you shortly.

pastel moon