I’m trying to create a PaymentIntent using the package stripity_stripe , I need to specify the “connected user account id” which will be the receipient of the payment. To do that I need to send a Header named “Stripe-Account” and the id as value.
I’m using Standard accounts with direct payments, so I can’t use the parameter named “on_behalf_of” (it’s dedicated for indirect payments) in the lib docs :
Here is an example in the Stripe API how to send the Header :
Erstellen von Direct Charges | Stripe-Dokumentation