#Dan The Man ๐จ๐ฆ
1 messages ยท Page 1 of 1 (latest)
Hi there, it depends on whether it's a direct charge or destination charge
The connected account pays the stripe_fee for a direct charge, and platform pays for destination charge.
oh ok how would I know or specify what type of charge it is?
I'm using the stripe.paymentIntents.create({}) api
It depends on how you create it. https://stripe.com/docs/connect/charges
If you specifies a stripeAccount when creating a charge, it's direct charge on the connected account. (https://stripe.com/docs/connect/direct-charges#create-a-charge_
If you specify a transfer_data[destination] , it's a destination charge (https://stripe.com/docs/connect/destination-charges#create-a-charge)
oh ok, i'm getting this error now:
OAuth key or Stripe-Account header was used but API request was provided with a platform-owned payment method ID. Please ensure that the provided payment method matches the specified account
I am using a payment method that is tied to my account as opposed to the connected account. Is there a way to use that payment but still perform a direct charge?
*without adding the payment option to the connected account itself
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
actually I got it to work fine while still using a destination charge. Thanks for your help! ๐
You are using a paymentMethod created in platform, and that's why you are getting this error.
You can clone this paymentMethod to connected account so that you can create a direct charge with it. https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods
oh ok good to know, thanks!