#cac3a
1 messages · Page 1 of 1 (latest)
I'm not sure what PaymentIntentService is. Can you link to where that's located in the Stripe docs?
expand only works on fields in Stripe objects. What are you wanting to achieve by expanding PaymentIntentService?
I'd like to get the connected account stripe processing rate
I'm getting breakdown of the fees
createOptions.AddExpand("charges.data.balance_transaction");
via this on paymentintent, but wanted to get the rates instead of calculating them on my end
Does this have to happen before or after the charge occurs?
I'd like to possibly be able to achieve that after charge record and maybe independently in some situations if that is possible.
Which rate specifically though? The Balance Transactions API allows you to get all fees and know where they came from, so I'm unsure of what fee specfically you mean when you say 'connected account stripe processing rate'
so my problem is this. I have a connected account under which the charge happens. The issue is that by default I calculate stripe processing rate at 2.9% to include it in the total. However, some connected accounts have a rate of 2.2% and then the net amount is different from what I calculated. My thinking was that if I'm able to retrieve stripe processing rate for a given connected account then I can adjust the calcs on my end.
Does this make little more sense ?
If it's happening after the Charge occurs, then the fee should already be calculated right? Does it show the fee amount under fee on the Balance Transaction object?
yes it does
The fees are not available before taking payment. You can look at past payments and make your own estimates for future, or ask your account holder.
so there is now way to retrieve rates from connected account ?
Only by looking at those fees on example past payments.