#Anna-webhooks
1 messages · Page 1 of 1 (latest)
So this means this invoice is created for the platform and not for the Connect account?
yes
so the event would to go to your webhook endpoint that does not have the Connect option ticked, since the objects are for your platform account.
the doc you're thinking of is https://stripe.com/docs/connect/invoices and yes you can use either "destination-style" or direct-charge-style" (that code you posted is the former)
Gotcha, yep that's the doc I found it on. Thanks! A few follow ups to this:
Currently I am using destination charges over direct charges, but is there any situation where I'd choose direct charges over destination? Right now, I am using destination charges and I get why I am because I have all customers defined on the Platform rather individually on each connect account.
An immediate benefit to this I see is you can easily have any customer interact with any Connect Account (we will call them businesses/merchants), but all transactions are done through the Platform. With the direct charges, since every customer must be defined on each connect account, so if I have 10 businesses using Stripe Connect, each business must have that existing customer if that customer wishes to pay invoices? If this was a destination charge, the customer would be registered on the platform, they pay us, and we pay the businesses via the destination property?
one thing i can think of is if you want your own businesses to have control over their own set of customers, and have them manage it fully,it's better to create customerrs on the connect instead of the platform?
Currently I am using destination charges over direct charges, but is there any situation where I'd choose direct charges over destination?
https://stripe.com/docs/connect/charges#types covers extensively the differences and why you'd pick one over the other
mainly it's to do with liability for refunds/chargebacks, and where you want the API objects to live. Primarily it's related to the account type you use and the standard ways of using Connect are Standard Accounts + Direct ; Express or Custom + Destination, everything else has pitfalls.
and yes everything in your other paragraph is accurate