#jay-s-source-transaction
1 messages · Page 1 of 1 (latest)
Hi, I just to provide a bit of background on my situation.
So we have an application that essentially manages properties as short, medium and long term rentals. Currently all accounting is done through a central stripe account for all buildings in which we operate which is cumbersome for our accounting team. We are migrating to connected accounts where we take our fees at the time of transaction for each building.
We also list properties on Airbnb which is where we were looking to use this webhook, so as Airbnb pays us out, we can listen to this event on our end and collect our fees for that transaction.
From my understanding Airbnb payouts are in form of ach transfers and what I could find on stripe's documentation, the webhook source.transaction.created looked like the most appropriate event to listen and do our calculations on. But that isn't something I am able to find good resources for when it comes to developing locally.
lmk if you need more context to better understand the situation. Thanks!
Ah okay gotcha.
So source.transaction.created is generated when the customer sends in a transfer
I don't know if there's a way to emulate/trigger this exactly. You may just need to mock a request.
Double checking though,..
Ah wait found something
https://stripe.com/docs/sources/ach-credit-transfer#testing-ach-credit-transfer-payments
When creating a Source object using your test API keys, a transaction is automatically created on the source. A source.chargeable and a source.transaction.created webhook event are sent immediately.
So the event should be generated as soon as you create a source (in test mode)
have you tried that already?
Ah I see, I haven't tried it but that's helpful. Thanks!