#mahendra
1 messages · Page 1 of 1 (latest)
And I'm using direct charges for payment
Hi there!
Once you have the PaymentIntent ID, you can find the fees as explained there: https://stripe.com/docs/expand/use-cases#stripe-fee-for-payment
If you are using Direct Charges, make sure to use the Stripe-Account header in your request https://stripe.com/docs/connect/authentication#stripe-account-header
What are you trying to do here? Accept a payment with the Payment Element? Or get the fees in a webhook event? Or something else?
To use PaymentIntent + Payment Element, you should follow this guide: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!